microsoft / vscode-jupyter Public
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ipywidgets fails to work in latest vscode + python-vscode ... if a notebook is launched before a simple Python script #1028
Comments
|
going further down, degrading to jedi-0.15.2, I see it seems to fail because of 1 bad fantom Python installation on my PC, and/or because WinPython is not registered. shall be then a recent change in python-vscode ? |
|
after removing Python-3.6 gohst, now I'm down to this, before launchong a Ipython Notebook cell: |
|
is this this ? |
|
there is a python in the path there is , to the reverse no "py.exe", in my case. |
|
hum, interesting now:
|
|
in the initial situation :
|
|
opening a Python file alone gives several Jedi "Deprecation" warnings and a Node "Security Deprecation warning" applying this simple patch (moving 9 lines) in your vendored Jedi-0.17.0 would also be nice |
|
doing this doesn't change the behavior: |
|
Thanks for your feedback @stonebig and sorry you've had all this trouble. I don't think this is a problem with Jedi or with the detection of Python Interpreter. I can execute your code as expected and I also get those errors. I believe your error should appear on the other console. With your notebook open press |
|
with latest python-vscode , it's still there, and I get this in the console, and this only, after executing the typical cell |
|
Looks better now, closing |


Bug: Notebook Editor, Interactive Window, Editor cells
Steps to cause the bug to occur
Actual behavior
Expected behavior
via notebook

Your Jupyter and/or Python environment
Please provide as much info as you readily know
Developer Tools Console Output
console.ts:137 [Extension Host] Error Python Extension: 2020-05-16 08:26:24: stderr jediProxy Error (stderr) c:\WinP\bd38\bucod\WPy64-3830\t\vscode\data\extensions\ms-python.python-2020.5.78807\pythonFiles\completion.py:594: DeprecationWarning: Deprecated since version 0.17.0. Use the project API instead, which means Script(project=Project(dir, sys_path=sys_path)) instead.
script = jedi.Script(
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-05-16 08:26:24: stderr jediProxy Error (stderr) c:\WinP\bd38\bucod\WPy64-3830\t\vscode\data\extensions\ms-python.python-2020.5.78807\pythonFiles\completion.py:594: DeprecationWarning: Providing the line is now done in the functions themselves like
Script(...).complete(line, column)script = jedi.Script(
c:\WinP\bd38\bucod\WPy64-3830\t\vscode\data\extensions\ms-python.python-2020.5.78807\pythonFiles\completion.py:594: DeprecationWarning: Providing the column is now done in the functions themselves like
Script(...).complete(line, column)script = jedi.Script(
c:\WinP\bd38\bucod\WPy64-3830\t\vscode\data\extensions\ms-python.python-2020.5.78807\pythonFiles\completion.py:594: DeprecationWarning: Use the code keyword argument instead.
script = jedi.Script(
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-05-16 08:26:24: stderr jediProxy Error (stderr) c:\WinP\bd38\bucod\WPy64-3830\t\vscode\data\extensions\ms-python.python-2020.5.78807\pythonFiles\completion.py:628: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).infer instead.
script.goto_definitions(), request["id"]
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer
The text was updated successfully, but these errors were encountered: