【发布时间】:2017-04-10 00:59:28
【问题描述】:
我在 requirements.txt 中指定了我的项目的依赖项。对于当前的 tensorflow,我必须指定 Google 提供的 whl。不幸的是,有一个separate wheel depending on many system configurations:
(Mac、Ubuntu)x(CPU、GPU)x(Python2.7、Python3.4、Python3.5)
为您提供 12 种不同的 whl 文件组合(实际上,只有 10 种)。在不同设备(Ubuntu、Mac)上工作时,有没有办法让我的 requirements.txt 文件在两个系统上工作?具体来说,我在 Mac 和 Ubuntu 上使用 Python 3.5.2。
【问题讨论】:
-
@sygi thx,这似乎是它。必须测试它,不过 +1
标签: python python-3.x tensorflow