-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Jupyter notebook extension on remote server does not work after VScode downgrade. #22865
Comments
Thanks for filing this issue and sorry you are running into this. |
This is the issue with the latest VScode version 1.86. It is incompatible with the version of linux we are running in our server. So, I had to revert back to 1.85.2. Following up the VScode release the python extension also created another release that is incompatible with 1.85.2. So, I had to revert back that release as well. As for the jupyter notebook extension, after checking I realized that the latest release is from 3 weeks ago, so I have updated the extension version to |
This seems to be due to an error from python extension not being able to activate your conda environment Unfortunate lly I'll have to transfer this issue too the python extension brepo as the underlying issue is in that extension before i do that I'd like to clarify what isn't working exactly Based on the logs pylance isn't installed or might be disabled. Please can you check |
You are right. The problem was with the python extension not recognizing the correct environment. The root cause was this:
I don't think it is an issue with python or jupyter extensions. It is a bad setup on my part which I wasn't able to figure out. The answers to your question:
|
@amirhosseindavoody , to be clear, this is a regression, i.e. it used to work, but not anymore, |
@amirhosseindavoody Are you still experiencing this? |
@amirhosseindavoody Try adding "python.experiments.optOutFrom": ["pythonTerminalEnvVarActivation"], to your settings.json if you are still experiencing this for activation problems, if that doesnt work please let me know so I can reopen the issue. Thanks. |
Environment data
Expected behaviour
The jupyter notebook should autocomplete the variable names and show list of live variables.
Actual behaviour
None of the functionalities of jupyter notebook extensions for autocomplete and showing existing variables work.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
I don't have exact instructions, but this happened when I had to revert back from vscode 1.86 release to 1.85.2 because of glibc version incompatibility on my remote machine. Then I found out that the extensions have been upgraded too. So, I reverted back the extensions to some previous version from back in November. The extensions I reverted are Jupyter notebook, pylance, and vscode-python. Now, none of the functionalities for jupyter notebook work. Python extension seems to work for now. I get autocomplete in
.py
files but nothing in.ipynb
files.I see this error when I look at the jupyter extension page:
Logs
Output for
Jupyter
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toJupyter
)The text was updated successfully, but these errors were encountered: