microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.3k stars 294 forks source link

Multiple "pip install" commands in a single Jupyter cell occassionally failed when executing the second and subsequent "pip install" commands #16239

Closed wyatt-wong closed 1 hour ago

wyatt-wong commented 18 hours ago

Applies To

What happened?

Occasionally when multiple "pip install" commands were put into a single Jupyter notebook cell, ONLY the first "pip install" command can be successfully executed.

Subsequent "pip install" commands will failed to execute with error messages.

VS Code Version

1.95.3

Jupyter Extension Version

v2040.10.0

Jupyter logs

Coding Language and Runtime Version

Python v3.13.0

Language Extension Version (if applicable)

No response

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Local

DonJayamanne commented 1 hour ago

Closing as this isn't something thats controlled by the Jupyter extsnion. This is something thats handled by the Python kernel itself. I.e. its an issue with IPyKernel package that handles these shell comments.