文章目录
1、创建新环境。打开anaconda navigator,然后选择Environments,创建新环境(选择好python版本,取好环境名字)。
2、更新pip插件
python -m pip install --upgrade pip
3、设置pip国内镜像源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
4、tensorflow详细版本下载(whl包),下载详细版本可以避免cpu的avx2编译错误
https://github.com/fo40225/tensorflow-windows-wheel
5、将下载好的whl包放入environment文件夹下的具体环境中
6、打开anaconda prompt,激活新环境,cd进入environment文件夹下的具体环境中,然后安装whl包。
7、successful !!!