美文网首页
安装Theano出现“No module named ‘thea

安装Theano出现“No module named ‘thea

作者: sttech | 来源:发表于2019-05-08 14:51 被阅读0次

    安装pylean2时,当执行python setup.py build后出现:

     python setup.py build
    Traceback (most recent call last):
      File "setup.py", line 8, in <module>
        from theano.compat.six.moves import input
    ModuleNotFoundError: No module named 'theano.compat.six'
    

    解决办法修改setup.py 文件
    from theano.compat.six.moves import input 改为
    from six.moves import input
    即可

    相关文章

      网友评论

          本文标题:安装Theano出现“No module named ‘thea

          本文链接:https://www.haomeiwen.com/subject/lhgmoqtx.html