1.检查anaconda安装:在anaconda输入 conda --version
2.检测已经安装的环境:conda info --envs
新建一个python3.7的环境,tensorflow:conda create --name tensorflow python=3.7
3.**新建的环境:conda activate tensorflow
4.先退出当前环境:conda deactivate
5.确认一下,新建环境已经添加进去(下图第四行tensorflow):conda info --envs
anaconda里面安装TensorFlow

6.pip install tensorflow==2.0.0-alpha0 -i https://pypi.doubanio.com/simple
下载
anaconda里面安装TensorFlow
7.打开python虚拟环境
anaconda里面安装TensorFlow
8.import tensorflow
anaconda里面安装TensorFlow
则安装成功。

9.如果以后想更新:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade tensorflow
很快就完成。
其他几个镜像url
阿里云:http://mirrors.aliyun.com/pypi/simple/

中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

华中理工大学:http://pypi.hustunique.com/

山东理工大学:http://pypi.sdutlinux.org/

豆瓣:http://pypi.douban.com/simple/

last:
在安装过程中遇到了:无法定位程序输入点,请参考:
解决无法定位程序输入点

相关文章:

  • 2021-12-09
  • 2022-12-23
  • 2021-06-10
  • 2021-10-26
  • 2021-05-29
  • 2021-12-29
  • 2021-06-26
  • 2021-10-16
猜你喜欢
  • 2021-09-30
  • 2021-04-19
  • 2021-03-31
  • 2021-08-01
相关资源
相似解决方案