在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.git
Collecting git+https://github.com/pybrain/pybrain.git
Cloning https://github.com/pybrain/pybrain.git to c:\users\shenfang\appdata\lo
cal\temp\pip-ra8tl7_b-build
Requirement already satisfied (use --upgrade to upgrade): scipy in c:\python34\l
ib\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 PyBrain
Successfully installed PyBrain-0.3.3
安装PyBrain最新版
本文介绍了一种通过pip3直接安装GitHub上的PyBrain最新版本的方法,解决了PyPi版本不兼容Python 3的问题,并展示了完整的安装过程。
4475

被折叠的 条评论
为什么被折叠?



