I was able to make the virtual environment of python3
but not able to make of python2
.
which python2
/usr/bin/python2
python2 -V
Python 2.7.18
virtualenv --python=$(which python2) $path_of_new_venv_directory
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.