Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting python.venvPath has no effect

After setting python.venvPath to:
"python.venvPath": "/home/jfb/EVs/env/bin/python3" and restarting vs code the virtual environment does not show up in the list of Python interpreters. All the search results I have read seem to say this is all that is needed to have the virtual environment version of python show up in the list of interpreters.

Using vs code vers 1.20.1 on Mint 18.

It seems so simple so what am I missing.

Regards, Jim

like image 958
Agent_15x Avatar asked Jun 15 '26 00:06

Agent_15x


1 Answers

From vscode settings help:

Path to folder with a list of Virtual Environments (e.g. ~/.pyenv, ~/Envs, ~/.virtualenvs).

You should put:

"python.venvPath": "/home/jfb/EVs"

Reload vscode window and try again.

like image 193
4ndt3s Avatar answered Jun 16 '26 14:06

4ndt3s



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!