You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running jupyter inside vscode the tqdm module's auto notebook functionality will break. See this related issue: tqdm/tqdm#747
Hence this question: Is there a recommended (and future-proof) way to reliably detect when jupyter is running inside vscode so that imported modules can be set-up accordingly?
From running os.environ inside a jupyter notebook running inside vscode the following environment variables look like potential candidates for flagging these situations:
Some of the differences are CSS styles that we apply to output.
Some of the differences are our VS Code extension isn't handling all of the Jupyter communication correctly.
When running
jupyter
insidevscode
thetqdm
module's auto notebook functionality will break. See this related issue: tqdm/tqdm#747Hence this question: Is there a recommended (and future-proof) way to reliably detect when
jupyter
is running insidevscode
so that imported modules can be set-up accordingly?From running
os.environ
inside ajupyter
notebook running insidevscode
the following environment variables look like potential candidates for flagging these situations:Would one of these, e.g.
VSCODE_PID
be sufficient for this purpose?The text was updated successfully, but these errors were encountered: