简体   繁体   中英

How does one have the Jupyter variable pane in VS Code to load the variables in session?

I was trying out VS Code with Jupyter but the variables never finish loading in the variable pane:

在此处输入图片说明

this is some info by my env:

Environment data
VS Code version: Version: 1.41.1
Extension version (available under the Extensions sidebar):2020.2.59126-dev
OS and version: macOS Catalina 10.15.2 (19C57)
Python version (& distribution if applicable, e.g. Anaconda): python 3.7.6 64-bit ('base':conda)
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Relevant/affected Python packages and their versions: Jupyter

Did anyone else have this issue? Anyone know how to fix it? Is this really a bug or maybe just a problem with my set up?


Related sources:

From the gitissue suggestion from the developers :

Can you try updating your build?

I couldn't find an easy way to do this except by right clicking on the gear icon for the python extension.

在此处输入图片说明

Then clicked install another version and clicked the most current one.

在此处输入图片说明

That made things work.


Enable Auto updating extensions:

With the command palette, one can also turn on automatic updates for extensions. Simply do:

Command + shift + p

then type:

updating extensions

and select

enable auto updating extensions

not sure if it will avoid this issue in the future but its worth a try.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM