Python

Python2 virtual environment

virtualenv -p="/usr/bin/python2" "py2"  

source ./py2/bin/activate  

(py2) python --version   

(py2) python xx.py

(py2) pip install needed_things

Last updated