Skip to content Skip to sidebar Skip to footer

Installing Theano On Epd (windows X64)

I'm trying to install Theano on Enthought Python Distribution (EPD), but I am getting a weird error. Here is what my installation looks like: I have installed EPD to C:\Python27.

Solution 1:

The last release of Theano(0.5) has some problem on Windows. You need to install the bleeding edge version. You can update your version like this:

pip install --upgrade--no-deps git+git://github.com/Theano/Theano.git

This should solve the problem. If not, you probably have some conflict with a different installation of gcc. Do you have installed it with cygwin or mingw? EPD installs its own version of mingw.

Solution 2:

I couldn't get Theano working with Enthought, but using the Anaconda python distribution I eventually got it working. Here's how:

  • uninstall Enthought and any other python version (start from scratch)
  • download and install Anaconda python distribution from this link: http://09c8d0b2229f813c1b93-c95ac804525aac4b6dba79b00b39d1d3.r79.cf1.rackcdn.com/Anaconda-1.5.0-Windows-x86_64.exe and click the option to use Anaconda as your default python version
  • to get the academic license, go to this page: https://store.continuum.io/cshop/academicanaconda and click the "free" button next to Anaconda Academic License (right side of page)
  • you should receive an email with an academic license .txt file. Follow the instructions in the email to place the file in the correct directory, and run several command-line commands to update anaconda and install numpy and scipy
  • open a windows command prompt and type

    pip install theano

  • create a file .theanorc.txt containing the lines:

    [global] openmp=False

    [blas] ldflags=

  • place .theanorc.txt in your home folder (the folder for your user account)

  • make sure the following paths are added to your PATH environment variable:

    C:\Anaconda\MinGW\bin; C:\Anaconda\MinGW\x86_64-w64-mingw32\lib; C:\Anaconda; C:\Anaconda\Scripts;

Post a Comment for "Installing Theano On Epd (windows X64)"