解决pybrain的No module named 'structure' 问题

来源:互联网 发布:python高级编程视频 编辑:程序博客网 时间:2024/05/16 02:15

在stack overflow上查到解决方法:

Simply running sudo pip3 install git+https://github.com/pybrain/pybrain.git worked for me after having the same issue.

The version up on PyPi isn't Python 3 compatible. Installing the latest commit directly using pip3should take care of your old package (from PyPi) as well.


试了一下,果然可以。

C:\>pip3 install git+https://github.com/pybrain/pybrain.gitCollecting git+https://github.com/pybrain/pybrain.git  Cloning https://github.com/pybrain/pybrain.git to c:\users\shenfang\appdata\local\temp\pip-ra8tl7_b-buildRequirement already satisfied (use --upgrade to upgrade): scipy in c:\python34\lib\site-packages (from PyBrain==0.3.3)Installing collected packages: PyBrain  Found existing installation: PyBrain 0.3    Uninstalling PyBrain-0.3:      Successfully uninstalled PyBrain-0.3  Running setup.py install for PyBrainSuccessfully installed PyBrain-0.3.3


0 0
原创粉丝点击