我正在尝试安装tensorflow gpu,版本是2.0.0-alpha0。我试过这两个命令:
pip install tensorflow-gpu==2.0.0-alpha0
pip install -U --pre tensorflow-gpu==2.0.0-alpha0
皮普说:
^{pr2}$但是,pypi上的tensorflow gpu页面肯定有2.0.0-alpha0版本。我知道我可以从源代码构建,也可以直接从pypi下载包,但我更希望了解为什么会发生这种情况。在
我做错什么了? 我也用pip18.1和19.0.3尝试了上述命令。在
我阅读了pip文档,发现了以下内容:
Starting with v1.4, pip will only install stable versions as specified by pre-releases by default.
The pip install command also supports a –pre flag that enables installation of pre-releases and development releases.
--pre Include pre-release and development versions. By default, pip only finds stable versions.
实际版本是^{} ,而不是{}。你想要:
您还需要在兼容的Windows或Linux系统上运行它。项目仅publishes releases用于:
相关问题 更多 >
编程相关推荐