1

I have a fresh virtual environment and VSCode project. My problem is that when I go to "Python: Select Interpreter", following the docs, the virtual environment is not one of the options.

My project folder structure looks like this:

parent
   |- bin
   |- include
   |- lib

The available interpreters in the dropdown are

/usr/bin/python2.7
/usr/local/opt/python/bin/python3.7
/usr/local/bin/python3
3
  • And your virtualenv is located where? It should be inside of the project folder, not the project folder itself. Commented Sep 25, 2018 at 9:20
  • That is the answer to my question, thanks! Commented Sep 25, 2018 at 9:24
  • I have added the comment as answer, so that others can find the answer more easily. Commented Sep 25, 2018 at 9:27

1 Answer 1

1

The virtualenv folder has to be inside of the project folder, not the project folder itself.

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

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.