Skip to content

Error when launching Interactive Window for the first time #643

@craph

Description

@craph

Bug: Notebook Editor, Interactive Window, Editor cells

Steps to cause the bug to occur

  1. Install the Python Extension

  2. Click on the "Use the Interactive Window to develop Python Scripts"

  3. On the right side bar click to install ipykernel

Actual behavior

When I click to install ipykernel I have the following error :

C:/Users/myuser/AppData/Local/Programs/Python/Python38/python.exe c:\Users\myuser\.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py c:\Users\myuser\.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\shell_exec.py C:/Users/myuser/AppData/Local/Programs/Python/Python38/python.exe c:\Users\myuser\.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py pip install -U ipykernel --user C:/Users/myuser/AppData/Local/Temp/tmp-3788OaytmZIQkb4q.log
C:\Users\myuser\AppData\Local\Programs\Python\Python38\python.exe: can't open file 'c:Usersmyuser.vscodeextensionsms-python.python-2020.8.101144pythonFilespyvsc-run-isolated.py': [Errno 2] No such file or directory

Expected behavior

ipykernel must be installed without any errors. As you can see, there are an error with the forwarded slash in the path url...

image

C:/Users/myuser/AppData/Local/Programs/Python/Python38/python.exe c:\Users\myuser\.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py c:\Users\myuser\.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\shell_exec.py C:/Users/myuser/AppData/Local/Programs/Python/Python38/python.exe c:\Users\myuser\.vscode\extensions\ms-python.python-2020.8.101144\pythonFiles\pyvsc-run-isolated.py pip install -U ipykernel --user C:/Users/myuser/AppData/Local/Temp/tmp-3788OaytmZIQkb4q.log
C:\Users\myuser\AppData\Local\Programs\Python\Python38\python.exe: can't open file 'c:Usersmyuser.vscodeextensionsms-python.python-2020.8.101144pythonFilespyvsc-run-isolated.py': [Errno 2] No such file or directory

image

Your Jupyter and/or Python environment

Please provide as much info as you readily know

  • Jupyter server running: Local | Remote | N/A
  • Extension version: 2020.8.101144-xxx
  • VS Code version: 1.48.0
  • Setting python.jediEnabled: true | false
  • Setting python.languageServer: Jedi | Microsoft | None
  • Python and/or Anaconda version: #.#.#
  • OS: Windows | Mac | Linux (distro): Windows 10
  • Virtual environment: conda | venv | virtualenv | N/A | ...

Python Output

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions