Here is my problem:
After I managed to install anaconda (having python 3.4), I apparently managed to install pybrain too. But when i use 'import pybrain' from anaconda or from the terminal too I get this error:
>>> import pybrain
Traceback (most recent call last):
File "<ipython-input-2-0fb7233d2a8c>", line 1, in <module>
import pybrain
File "//anaconda/lib/python3.4/site-packages/PyBrain-0.3-py3.4.egg/pybrain/__init__.py", line 1, in <module>
from structure.__init__ import *
ImportError: No module named 'structure'
pybrain
? Did you usepip install pybrain
orconda install pybrain
? I'm assuming it's in the correct location based on the traceback, but this might be a case of incomplete dependencies or somesuch. – Kith//anaconda/lib/python3.4/site-packages/PyBrain-0.3-py3.4.egg/
. 2) Downloading and extracting from github.com/pybrain/pybrain/archive/master.zip, and then installing from that. – Steffenscd
to the new directory, and typepython setup.py install
. Before you do that though, you need to remove the old installed files (that was the first step in my instructions). – Steffens