Open cbird808 opened 3 years ago
virtualenv
versionvirtualenv --version
If it says anything about python 2.7, done. Follow the Readme, but instead of virtualenv2.7
, you just have virtualenv
Else, you need to install virtualenv
(for python2.7)
pip2
to install python2.7 packages:# Install python2 is not already
sudo apt install python2
# Install pip2
curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py
sudo python2 get-pip.py
# Check version
pip2 --version
virtualenv
pip2 install virtualenv
# Check version
virtualenv --version
Actually I think virtualenv is generic. To use python2, replace
virtualenv-2.7 OBI-env
with
virtualenv -p python2 OBI-env
But this is much like what I think you already tried. Maybe 2.7.15 is a problem? Want whatever the system install for python2 by default.
the command below is unrecognized, so I must have to do something first such that virtualenv-2.7 is a valid command