我在用 Anaconda 安装 Autokeras 时遇到问题。

  • 我将 python 降级到 3.6
  • 我安装了pytorch并降级为
    版本 0.4.1
  • 我将 numpy 降级到 1.14.5
  • 我安装了 Visual Studio C++ 构建工具

  • 但是现在我收到了 tensorflow 需要最大 numpy 版本 1.14.5 的错误。但是 autokeras 会将 numpy 升级到 1.15.4 并且无法为 lws 构建轮子

    在每一步之后都有一个错误。
    是否有一种简单直接的方法可以在 Annaconda (Win) 上安装 Autokeras?

    谢谢你的帮助

    最佳答案

    我有 Windows 10、Anaconda 2019.10 和 Python 3.7.5。在我的情况下,当我按照官方文档的指示尝试 ERROR: No matching distribution found for torch==1.0.1.post2 (from autokeras) 时,我在 Windows 10 上收到错误 pip install autokeras

    然后我尝试从 https://github.com/keras-team/autokeras 获取源代码并运行 python setup.py install 。它成功地为我安装了 autokeras。

    关于python - 使用 Anaconda 安装 Autokeras,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/54238519/

    10-12 22:44