conda install openblas报错
错误信息:Solving environment: failed with initial frozen solve . Retrying with flexible solve.
解决方案:https://www.cnblogs.com/JonaLin/p/12123425.html
错误信息:段错误(核心已转储)
解决方案:conda install pyopengl(或重试即可)或执行conda clean -a删除所有包
错误信息:ModuleNotFoundError: No module named 'numpy.testing.decorators'
解决方案:https://blog.csdn.net/AiBigData/article/details/103738505
pip conda换源
-i https://pypi.tuna.tsinghua.edu.cn/simple
查看已安装环境:conda info --envs
创建新的环境conda create --name py3(环境名) python=3.6 (版本号)
删除环境:conda remove -n <env_name> --all
激活环境:activate py3 # windows source activate py3 # linux/mac
克隆环境:conda create -n myblog --clone blog
修改源:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
换回默认源:
conda config --remove-key channels
Ubuntu 16.04 上安装 CUDA 9.0 详细教程
opencv安装:
pip install opencv-python == 3.4.2.17
pip install opencv-contrib-python == 3.4.2.17