Answer the question
In order to leave comments, you need to log in
PyBrain not importing?
Hello community,
Can someone please tell me who worked with PyBrain under Windows, what could be the reason: pybrain is not imported in Python 2.7.
Installed normally (Windows 7):
Installed c:\python27\lib\site-packages\pybrain-0.3.1-py2.7.egg
Processing dependencies for PyBrain==0.3.1
Searching for scipy==0.9.0
Best match: scipy 0.9.0
Adding scipy 0.9.0 to easy-install.pth file
Using c:\python27\lib\site-packages
Finished processing dependencies for PyBrain==0.3.1
>>> import pybrain
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
import pybrain
ImportError: No module named pybrain
Answer the question
In order to leave comments, you need to log in
Good afternoon
Unfortunately, I can't help you, because I had no experience using PyBrain from under Windows. I have been working in Ubuntu for a long time, there are fewer problems with such things.
I hope you looked here: https://github.com/pybrain/pybrain/wiki/installation and http://pybrain.org/docs/quickstart/installation.html ?
These things are:
$ python
Python 2.5.2 (r252:60911, Sep 17 2008, 11:21:23 AM)
Type "help", "copyright", "credits" or "license" for more information.
>>> import pybrain
>>>
and
$ cd pybrain/tests
$ python runtests.py
INFO Tests found: […]
…
— Ran 31 tests in 8.749s
OK
Does it work for you?
If yes, then I can assume that either you somehow installed several different versions of Python, or some paths in the Path were not registered.
In general, people do not particularly complain about the problems of running PyBrain under Windows, so the problem is in your configuration and not in the library. Somewhere a little thing is missing.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question