Sublime Forum

Python virtualenv

#1

This is on Mac Catalina.
Having issues trying to get the Virtualenv to use venv. I’ve set it up in the settings-User as such
{
“executable”: “/usr/local/bin/python3 -m venv”,
“virtualenv_directories”:
[
“/Users/ad/.virtualenvs”,
“/Users/ad/Documents/class/Rice-class-Last”,
“/Users/ad/develop/nwi”
]
}

The project is in the nwi directory and I had created the virtual environment using the python -m venv via the cli. It never seems to find the packages. Do I need to add a source /Users/ad/develop/nwi/bin/activate ?

Anyone been successful?

0 Likes

#2

These settings are not known to me and they don’t seem like standard settings. Are these from a package? If so, which package?

0 Likes