Theano
From FarmShare
(Difference between revisions)
Line 26: | Line 26: | ||
Successfully installed Theano numpy scipy six | Successfully installed Theano numpy scipy six | ||
Cleaning up... | Cleaning up... | ||
+ | |||
+ | then: | ||
+ | <pre> | ||
+ | chekh@srn-chek:~$ python3 | ||
+ | Python 3.4.3+ (default, Oct 14 2015, 16:03:50) | ||
+ | [GCC 5.2.1 20151010] on linux | ||
+ | Type "help", "copyright", "credits" or "license" for more information. | ||
+ | >>> import Theano | ||
+ | Traceback (most recent call last): | ||
+ | File "<stdin>", line 1, in <module> | ||
+ | ImportError: No module named 'Theano' | ||
+ | >>> import theano | ||
+ | >>> | ||
+ | </pre> |
Revision as of 15:38, 22 April 2016
Alex test install Theano 0.8.2 (non-GPU) on Python 3.x on my local Ubuntu 15.10 machine.
Needs packages:
libatlas-base-dev python3-scipy python3-numpy python3.4-dev python3.4-venv
Now start up an new Python 3 virtualenv, call it 'env1'.
python3 -m venv env1 source env1/bin/activate #activate your venv which pip #check your pip is from your venv pip install --user Theano
...errors out on something about numpy/scipy problem...
Let's try again without a virtualenv, so hopefully we pick up the OS install of scipy/numpy:
sudo aptitude install python3-pip python3 -m pip install --user Theano
eventually:
Successfully installed Theano numpy scipy six Cleaning up...
then:
chekh@srn-chek:~$ python3 Python 3.4.3+ (default, Oct 14 2015, 16:03:50) [GCC 5.2.1 20151010] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import Theano Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named 'Theano' >>> import theano >>>