python change to python3 ubuntu Error
Error while finding spec for 'virtualenvwrapper.hook_loader' (<class 'ImportError'>: No module named 'virtualenvwrapper')
virtualenvwrapper.sh: There was a problem running the initialization hooks.
If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3 and that PATH is
set properly.
解决办法######安装 pip3
sudo apt-get install python3-pip
######用pip3安装 virtualenv virtualenvwrapper
sudo pip3 install virtualenv virtualenvwrapper
#####source
source .bashrc