Installing theano


I installed numpy which was successful. But then i tried installing Theano and there was some problem with that. In fact after failed Theano installation i am unable to use even numpy.

Below is the error i got on installing Theano [sudo pip install git+]

Can’t roll back scipy; was not uninstalled
Cleaning up…
Command /usr/bin/python -c “import setuptools, tokenize;file=’/tmp/pip_build_root/scipy/’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(’\r\n’, ‘\n’), file, ‘exec’))” install --record /tmp/pip-kUMjIw-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/scipy
Traceback (most recent call last):
File “/usr/bin/pip”, line 9, in
load_entry_point(‘pip==1.5.4’, ‘console_scripts’, ‘pip’)()
File “/usr/lib/python2.7/dist-packages/pip/”, line 235, in main
return command.main(cmd_args)
File “/usr/lib/python2.7/dist-packages/pip/”, line 161, in main
text = ‘\n’.join(complete_log)
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe2 in position 72: ordinal not in range(128)

And now i am getting below error while trying to run numpy

Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you’re working with a numpy git repo, try git clean -xdf (removes all
files not under version control). Otherwise reinstall numpy.

Original error was: /usr/local/lib/python2.7/dist-packages/numpy/core/ undefined symbol: _Py_ZeroStruct

Can someone please help. I am new to Python and Linux. want this environment to practice Deep Learning