1

I use Remote SSH Development for Python. How can I select a virtual environment? I can only see standard Python in my list

I can only see standard Python in my list But how can I use the virtual environment that I have on remote machine ~/dev/bin/activate ?

2
  • Have you enabled the extension in VSCode and connected to the SSH host you want to work with ? Commented Nov 27, 2019 at 12:43
  • Yes, I can connect to SSH host, but I can see only default python from the host. The screenshot shows python versions from host Commented Nov 27, 2019 at 13:11

1 Answer 1

1

You should edit settings.json and point interpreter with parameter:

"python.pythonPath": "~/dev/bin/python",

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.