Skip to content

Stuck at discovering Python Interpreters in ssh connection #20485

Closed as not planned
@L-WWEEII

Description

@L-WWEEII

VS Code version
Version: 1.74.2

Extension version
v2022.20.1
Python(Pylance etc.)

OS type
Win10

Python distribution
Miniconda(in remote ssh)

Python version
3.8

Language server
Default

Expected behaviour
Be able to find the Python interpreter instead of discovering it all the time!

Actual behaviour

Stuck at discovering Python Interpreters forever

微信截图_20230110144039

I have installed Python extensions on remote server A, and when I open a Python file on the remote server, it says "discovering Python interpreter" at the bottom of the interface, but it never goes away. But when I install the extension on another remote server B, I don't have this problem. How can I fix this problem on server A?

Steps to reproduce
Open any python related file(notebook, .py) it will start to discover and stuck there.

Logs
LSP Notebooks experiment is enabled
LSP Notebooks interactive window support is enabled

conda info --json
python -c "import sys;print(sys.executable)"
/usr/bin/python ./.vscode-server/extensions/ms-python.python-2022.20.1/pythonFiles/get_output_via_markers.py ./.vscode-server/extensions/ms-python.python-2022.20.1/pythonFiles/interpreterInfo.py
/usr/bin/python3 ./.vscode-server/extensions/ms-python.python-2022.20.1/pythonFiles/get_output_via_markers.py ./.vscode-server/extensions/ms-python.python-2022.20.1/pythonFiles/interpreterInfo.py
[ERROR 2023-0-10 6:33:10.26]: Autoselection timeout out, this is likely a issue with how consumer called execution factory API. Using default python to execute.
[ERROR 2023-0-10 6:33:10.104]: Autoselection timeout out, this is likely a issue with how consumer called execution factory API. Using default python to execute.
[ERROR 2023-0-10 6:33:10.123]: Autoselection timeout out, this is likely a issue with how consumer called execution factory API. Using default python to execute.
[ERROR 2023-0-10 6:33:10.139]: Autoselection timeout out, this is likely a issue with how consumer called execution factory API. Using default python to execute.
[ERROR 2023-0-10 6:33:10.166]: Autoselection timeout out, this is likely a issue with how consumer called execution factory API. Using default python to execute.
[ERROR 2023-0-10 6:33:10.179]: Autoselection timeout out, this is likely a issue with how consumer called execution factory API. Using default python to execute.
[ERROR 2023-0-10 6:33:20.416]: Autoselection timeout out, this is likely a issue with how consumer called execution factory API. Using default python to execute.
[ERROR 2023-0-10 6:33:22.63]: Autoselection timeout out, this is likely a issue with how consumer called execution factory API. Using default python to execute.
[ERROR 2023-0-10 6:33:45.214]: Autoselection timeout out, this is likely a issue with how consumer called execution factory API. Using default python to execute.

Code of Conduct
I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

area-environmentsFeatures relating to handling interpreter environmentsinfo-neededIssue requires more information from postertriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions