解决ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)

1.检查自己的版本是否为32bit,若是32bit的python,请重新安装64bit的python再下载tensorflow,tensorflow只支持64bit的
2.注意Python版本与tensorflow版本的对应关系,并非所有tensorflow版本都可以配合任意python版本。
3.无需在%APPDATA%文件夹下创建pip文件夹切换镜像源(我切换之后镜像源之后,在cmd命令行窗口安装tensorflow迟迟没有反应,当我删除pip文件夹下后使用命令后即开始安装了)。

4.使用pip install tensorflow时需要下载的内容比较大,若不使用国内的镜像源,下载时间会非常久,所以可以在安装时使用镜像源,这样速度就会块很多。

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn tensorflow

猜你喜欢

转载自blog.csdn.net/weixin_43823060/article/details/133935478