Loading...

Postulate is the best way to take and share notes for classes, research, and other learning.

More info

0.3 Venv Python Version Control

Profile picture of Amy LiAmy Li
Jun 29, 2022Last updated Jun 29, 20221 min read

When choosing python interpreter in vscode, make sure it's the venv for all the packages you installed to actually turn green!







To install virtualenv for a specific python version, instead of running mkdir [envName], run the following code instead:

virtualenv --python="/usr/bin/python2.6" "/path/to/new/virtualenv/"

example:

virtualenv --python="/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7" "/Users/amyli/Envs/env2"


Comments (loading...)

Sign in to comment

LatchBio

Traversing the Latch SDK