install theano with python centos-7
<p>I could successfully install theano with python2 by following the instructions here
<a href="http://deeplearning.net/software/theano/install_centos6.html#install-centos6" rel="nofollow">http://deeplearning.net/software/theano/install_centos6.html#install-centos6</a>.
Since I do not have root access, I asked my admin to install the additional packages required as mentioned. </p>

<p>sudo yum install python-devel python-nose python-setuptools gcc gcc-gfortran gcc-c++ blas-devel lapack-devel atlas-devel.</p>

<p>This works for python2 but not python3. Are their additional packages required for python3?
Running with python3 gives an error </p>

<p>.theano/compiledir_Linux-3.10-el7.x86_64-x86_64-with-centos-7.2.1511-Core-x86_64-3.4.3-64/lazylinker_ext/mod.cpp:1:20: fatal error: Python.h: No such file or directory.  #include .                     ^. compilation terminated.. </p>

<p>Seems like you didn't correctly install all the header files and static libraries for python dev. If you have administrative problems you can use Anaconda from <code>https://www.continuum.io/downloads</code> 
Else, the most preferred way is using your package manager to install them system-wide. </p>

<p><code>sudo yum install python-devel</code></p>

<p>Edit : You can install theano with anaconda without admin rights. You can download the anaconda's package for your system, set the appropriate path to the python compiler and then install theano using <code>conda install theano</code>. Also, you can install libgpuarray and pygpu, a dependency for using theano's new backend without admin rights, you can find the instructions <code>http://deeplearning.net/software/libgpuarray/installation.html#step-by-step-install</code>. </p>

python centos theano