有一个问题:Pylance(IntelliSense)无法在远程服务器上工作。同时它在本地工作。Pylance 本身安装在本地和服务器上。导入只是白色的,当我将鼠标悬停在它上面时,只会弹出“正在加载...”。“转到定义”也不起作用。
有这样的性质:
我已经尝试过很多选择:
"python.insidersChannel": "daily", "python.languageServer": "Pylance"。“Python:显示输出”给出以下输出:
Experiment 'pythonaacf' is active
Experiment 'pythonTensorboardExperiment' is active
Experiment 'pythonSurveyNotification' is active
Experiment 'PythonPyTorchProfiler' is active
Experiment 'pythonDeprecatePythonPath' is active
> conda info --json
> ~/jupyter_env/bin/python ~/.vscode-server/extensions/ms-python.python-2021.12.1559732655/pythonFiles/interpreterInfo.py
> ~/.anaconda_backup/bin/conda info --json
Python interpreter path: ./jupyter_env/bin/python
> conda --version
> /bin/python ~/.vscode-server/extensions/ms-python.python-2021.12.1559732655/pythonFiles/interpreterInfo.py …Run Code Online (Sandbox Code Playgroud)