Skip to content

ipykernel never installs (possibly because it tried installing using the python terminal) #14509

@mjbvz

Description

@mjbvz

Issue Type: Bug

Repro

  1. Install python extension
  2. Run something in the python terminal
  3. Now open python interactive window
  4. See alert about installing ipykernel
  5. Click button to install

Bug
Loading forever.

Screen Shot 2020-10-24 at 12 06 50 PM

If you look more closely at the terminal in the screenshot, it seems it tried to install ipykernel using the python terminal:

>>> /Applications/Xcode.app/Contents/Developer/usr/bin/python3 /Users/matb/.vscode-insiders/extensions/ms-python.python-2020.9.114305/pythonFiles/pyvsc-run-isolated.py /Users/matb/.vscode-insiders/extensions/ms-python.python-2020.9.114305/pythonFiles/shell_exec.py /Applications/Xcode.app/Contents/Developer/usr/bin/python3 /Users/matb/.vscode-insiders/extensions/ms-python.python-2020.9.114305/pythonFiles/pyvsc-run-isolated.py pip install -U ipykernel --user /var/folders/5d/nlg411_s0570wmycdwkgqrf40000gn/T/tmp-50669KGia1cCmwSTb.log
  File "<stdin>", line 1
    /Applications/Xcode.app/Contents/Developer/usr/bin/python3 /Users/matb/.vscode-insiders/extensions/ms-python.python-2020.9.114305/pythonFiles/pyvsc-run-isolated.py /Users/matb/.vscode-insiders/extensions/ms-python.python-2020.9.114305/pythonFiles/shell_exec.py /Applications/Xcode.app/Contents/Developer/usr/bin/python3 /Users/matb/.vscode-insiders/extensions/ms-python.python-2020.9.114305/pythonFiles/pyvsc-run-isolated.py pip install -U ipykernel --user /var/folders/5d/nlg411_s0570wmycdwkgqrf40000gn/T/tmp-50669KGia1cCmwSTb.log
    ^
SyntaxError: invalid syntax
>>> 

Extension version: 2020.9.114305
VS Code version: Code - Insiders 1.51.0-insider (7a3bdf4, 2020-10-23T07:32:22.213Z)
OS version: Darwin x64 19.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions