【问题标题】:Tensorflow Installing gives me an error from pip moduleTensorflow 安装给我一个来自 pip 模块的错误
【发布时间】:2019-10-21 11:40:16
【问题描述】:

所以,正如标题所说,每当我尝试像这样安装 TensorFlow 时都会遇到错误:

点安装张量流

这是我得到的错误:

> Traceback (most recent call last):   
> File "c:\program files (x86)\python36-32\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) 
> File "c:\program files (x86)\python36-32\lib\runpy.py", line 85, in _run_code exec(code, run_globals)   
> File "C:\Program Files (x86)\Python36-32\Scripts\pip.exe\__main__.py", line 9, in <module>
> TypeError: 'module' object is not callable

我在 Stack 上阅读了很多解决方案,但没有一个对我来说是成功的。他们中的一些人说要设置我已经拥有的环境变量,但我尝试再次设置它们,还是一样。 有没有人有一个可靠的解决方案?

【问题讨论】:

  • 您尝试过here中描述的方式吗?
  • @luigigi 我希望这是个玩笑,伙计。那是我首先尝试过的。当我尝试这个时,我什至得到一个错误:pip3 --version。我认为我的点子有一些问题,但我无法解决它们
  • 您的系统规格是什么。例如。 linux、mac、windows?版本?磁盘空间?您在安装过程中走了多远?告诉我们所有血腥的细节。
  • @mathewgunther 好的。所以,我使用的是 Windows 10。我的 ssd 上确实还有 17gb。基本上我一开始就明白了..
  • @Adrian 由于您的描述非常简短且无益,因此我认为该提示非常合理。

标签: python tensorflow pip


【解决方案1】:

如果你使用 conda try conda install -c conda-forge tensorflow,我听说 Tensorflow 在 Windows 上不是很好,所以如果你安装它只是为了使用 Keras,我建议你安装 Theano。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-12-30
    • 2019-04-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-01-30
    • 1970-01-01
    相关资源
    最近更新 更多