Ubuntu16.04下安装opencv-python的虚拟环境

在安装完opencv-python的部署后(# pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn opencv-python)

1.安装numpy,scipy,pandas,matplotlib,sklearn:

     sudo apt-get install python-numpy

     sudo apt-get install python-scipy

     sudo apt-get install python-pandas

     sudo apt-get install python-matplotlib

     sudo apt-get install python-sklearn

2.安装python版本

     sudo apt-get python-pip

     sudo apt-get python3-pip

*pip升级后报错处理
wget https://bootstrap.pypa.io/pip/3.5/get-pip.py
python3 get pip.py
sudo python -rm pip install --upgrad

你可能感兴趣的:(python,ubuntu,开发语言)