安装 TensorFlow 插件 [英] Install TensorFlow addons
问题描述
我有一个包含以下详细信息的 venv:
I have a venv with the following details:
- python 3.6
- TensorFlow 2.0.0
我尝试使用以下方法安装 tensorflow-addons:
I tried to install tensorflow-addons using the following:
pip install -q --no-deps tensorflow-addons~=0.6
但后来我不断收到以下错误:
But then I keep receiving the following error:
找不到满足tensorflow-addons~=0.6要求的版本(来自版本:)找不到 tensorflow-addons 的匹配分布~=0.6
Could not find a version that satisfies the requirement tensorflow-addons~=0.6 (from versions: ) No matching distribution found for tensorflow-addons~=0.6
您使用的是 pip 版本 18.0,但版本 19.3.1 可用.您应该考虑通过python -m pip install --upgrade pip"命令进行升级.
You are using pip version 18.0, however version 19.3.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.
我还尝试了其他版本的 tensorflow-addons,例如.例如,0.4.0, 0.5.0, ...
,但没有成功.
I also tried other versions of tensorflow-addons, e. g., 0.4.0, 0.5.0, ...
, but it did not work out.
推荐答案
该问题似乎与在 tensorflow-addons 的早期版本中在 Windows 平台上安装有关.在更新此评论时,此问题应该完全消失.
The problem appears to have been related to installing on Windows platforms in the earlier versions of tensorflow-addons. As of time of updating this comment this issue should disappear completely.
事实上,开发人员表示已经解决了,如下所示:
In fact the developers state it has been solved, as it is shown here:
Windows 的 FYI 稳定版本已经发布.pip 安装张量流插件
FYI stable release for windows is out. pip install tensorflow-addons
https://github.com/tensorflow/addons/issues/173#issuecomment-573106184
这篇关于安装 TensorFlow 插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!