Microsoft/VSCode - Cannot create a Python Interactive Window - vscode-jupyter
Hello,
Since today I am not able to create a Python Interactive Window. Whenever I try to do so, I get the message "Connectiong to IPython kernel: Connecting to kernel." followed by "Timed out waiting to get a heartbeat from kernel process.". I have attached a log file with more information.
I found the error: "Error 2020-09-24 17:15:28: Failed to start the Daemon, StdErr: C:\Users\john van helden\Anaconda3\python.exe: can't open file '"c:/Users/john van helden/.vscode/extensions/ms-python.python-2020.9.111407/pythonFiles/pyvsc-run-isolated.py"': [Errno 22] Invalid argument"
The file is present at the specified location and the permissions of the file are good. If I click on the file, it is succesfully opened in VSCode.
System info: - Windows 10 - VS Code version: 1.49.1 - Anaconda Navigator 1.9.12 - Python 3.7.9 64-bit ('base':conda)
Steps taken: - Remove Python extension in VSCode; - Close all VSCode instances; - Delete extension folder in ?/.vscode/extensions called ms-python.python-{version}; - Open VSCode again and install Python extension; - Delete VSC entirely and reinstall; - Update all packages in Anaconda; - Install Python 3.8.5 and try again using this interpreter, same issue;
Looking forward to some help.
Thanks in advance!
6 Answer:
Error:
File in location:
File permissions:
Checkboxes for 'Entire management, Editing, Reading and executing, reading, writing'.
@anupampydey Please could you provide the following info: * VS Code Version * Extension version * Logs
for engineering team: Consider not running python-run-isolated when starting the daemon. Also having spaces in the user name may be causing an issue.
Thanks @RobinYookr, we'll take a look.
- VS Code version: 1.49.1
- Python extension v2020.9.111407
- Logs is attached already, see the logging.txt file.
Thank you in advance!
Regarding the spaces in the username of windwows: the Interactive Python windows has been working perfectly for the last 9 months. It stopped working since today, while no special activities (e.g. updates or whatsoever) have taken place.
Please could you check and confirm the file exists. If not, please could you uninstall the python extension & confirm the following folder has been deleted
@DonJayamanne Confirmed file existed, uninstalled Python extension and confirmed that the folder and file were removed/deleted, reinstalled the Python Extension. Same exact issue is happening
Read next
- Missing settings in the GUI - Solaar
- appium The capabilities UnlockType & UnlockKeys doesn't work with the mobile device ( brand Oppo ) - JavaScript
- Drag capability for experimental-figspec - TypeScript storybook-addon-designs
- react-refresh-webpack-plugin - Fast refresh not accept any change in any place, require full page refresh. JavaScript
- Remove Images completely - trix
- When using mybatisplus plus goupBy for paging query, the count parameter is not encrypted - Java shardingsphere
- SIGINT takes 10+ seconds to quit - TypeScript functions-framework-nodejs
- tensorflow Slower on a Nvidia 1080TI GPU than on CPU - Cplusplus