1、怎么修改base位置
找到你的anaconda prompt启动位置 -> 右键 -> 属性 -> 起始位置,修改即可;
重启机器和Anaconda prompt,成功!
2、切换目录
activate “你的位置”
3、退出当前环境
deactivate
4、检查环境数
conda info --envs
5、安装torch pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu92/torch_nightly.html
6、安装tensorflow时出现,找不到指定模块。pip install tensorflow_core -i https://pypi.tuna.tsinghua.edu.cn/simple
7、Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
意思时安装的tensorflow版本不匹配
8、pip install--upgrade tensorflow 升级到最新版本
9、安装tensorflow pip install--upgrade tensorflow==1.14.0
10、python3.6.2安装opencv pip install opencv_python==3.4.2.16