world_cup_learning
world_cup_learning copied to clipboard
Issue with IPython
Hi Fisadev, I get the following issue, not sure if it is an IPython issue or not.
Here is the traceback - it happens on the first cell of the IPython notebook
ImportError Traceback (most recent call last)
/home/peadar/.virtualenvs/world_cup/src/pybrain/pybrain/init.py in
/home/peadar/.virtualenvs/world_cup/src/pybrain/pybrain/structure/init.py in
/home/peadar/.virtualenvs/world_cup/src/pybrain/pybrain/structure/connections/init.py in
/home/peadar/.virtualenvs/world_cup/src/pybrain/pybrain/structure/connections/full.py in
/home/peadar/.virtualenvs/world_cup/lib/python2.7/site-packages/scipy/init.py in
/home/peadar/.virtualenvs/world_cup/lib/python2.7/site-packages/numpy/init.py in
/home/peadar/.virtualenvs/world_cup/lib/python2.7/site-packages/numpy/add_newdocs.py in
/home/peadar/.virtualenvs/world_cup/lib/python2.7/site-packages/numpy/lib/init.py in
ImportError: cannot import name scimath
I am trying to improve your requirements.txt file inside a virtual environment
pip freeze gives the following.
Jinja2==2.7.2 Markdown==2.4 MarkupSafe==0.23 MySQL-python==1.2.5 -e git+https://github.com/pybrain/pybrain.git@1dd5086a51c3c98497ef85b31178588a89d8951e#egg=PyBrain-master PyYAML==3.11 Pygments==1.6 SQLAlchemy==0.9.4 Sphinx==1.2.2 StarCluster==0.95.5 Werkzeug==0.9.4 argparse==1.2.1 backports.ssl-match-hostname==3.4.0.2 boto==2.29.1 brewer2mpl==1.4 colorama==0.2.5 csvkit==0.7.3 dbf==0.94.003 decorator==3.4.0 dill==0.2b1 docutils==0.11 ecdsa==0.11 gevent==1.0 gevent-websocket==0.9.3 greenlet==0.4.2 httplib2==0.9 ipdb==0.8 iptools==0.6.1 ipython==2.0.0 iso8601==0.1.10 itsdangerous==0.24 jdcal==1.0 lxml==3.3.5 matplotlib==1.3.1 mock==1.0.1 mpld3==0.1 nose==1.3.3 numpy==1.8.1 numpydoc==0.4 openpyxl==1.8.0 optcomplete==1.2-devel pandas==0.14.0 paramiko==1.14.0 progressbar==2.2 psycopg2==2.5.3 pycrypto==2.6.1 pygal==1.4.6 pyparsing==2.0.2 python-dateutil==2.2 python-gflags==2.0 pytz==2014.4 pyzmq==14.3.0 scikit-learn==0.14.1 scimath==4.1.2 scipy==0.14.0 scp==0.8.0 six==1.7.2 tornado==3.2.2 traits==4.5.0 websocket==0.2.1 websocket-client==0.12.0 workerpool==0.9.2 wsgiref==0.1.2 xlrd==0.9.3
Yet it works if I install pybrain manually using. git clone git://github.com/pybrain/pybrain.git and python setup.py install
How did you install scipy, numpy and pandas?
Also, I've just updated the requirements, now they install everything needed (also removed old unneded dependencies), and the README with some extra installation instructions. Can you try with them (in a clean new virtualenv)?