Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] code execution speed and background color by Jupyter of VScode (Remote-ssh) #3305

Open
QuYue opened this issue Mar 19, 2024 · 1 comment

Comments

@QuYue
Copy link

QuYue commented Mar 19, 2024

  • [v] I've checked docs and closed issues for possible solutions.
  • [v ] I can't find my issue in the FAQ.

Describe the bug
When I use VSCode's Remote-SSH to connect to my server remotely, I find that rich.progess's code execution speed is significantly slower in Jupyter than it should be.

Take a look at the following example:
a

From what we can see, this code should only take a few seconds to execute. However, it took me more than a minute. Additionally, the background color (white) seems unusual.

On another note, when I tried to run the same in Jupyter Lab (accessed remotely via browser), both the speed and the background color were normal.
b
The same happened when I tried to run a Python file (not jupyter) in terminal (accessed remotely through ssh).
c

However, on local VSCode (not remote), the speed was normal, but there were issues with the background color once again.
d

From these observations, it seems like the results in Jupyter of VSCode may need to be downloaded from the server. However, tqdm appears to work well.

Platform

I tried to remotely access two servers (one running Windows and the other Linux). The issues mentioned above exist on both.

e

Copy link

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant