How do I install a specific version of Python in Virtualenv?

Việt Quân

New member
How do I install a specific version of Python in Virtualenv?
Answer
By default, that will be the version of python that is used for any new environment you create. However, you can specify any version of python installed on your computer to use inside a new environment with the -p
flag :$ virtualenv -p python3.2 my_env Running virtualenv with interpreter /usr/local/bin/python3.
 

Tìm kiếm

Back
Top