Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install theano with python3.6?

I am using conda to install theano with python3.6 but got below error:

$ conda install theano
Fetching package metadata ...........
Solving package specifications: .


UnsatisfiableError: The following specifications were found to be in conflict:
  - python 3.6*
  - theano -> python 2.7* -> openssl 1.0.1*
Use "conda info <package>" to see the dependencies for each package.

It seems that theano doesn't work with python3.6. Is this a way for me to install it with python3.6?

like image 613
Joey Yi Zhao Avatar asked Mar 13 '17 10:03

Joey Yi Zhao


2 Answers

No, there is no conda package for theano on Python 3.6:

https://repo.continuum.io/pkgs/free/linux-64/

You can chose from 2.7, 3.4 and 3.5.

Alternatively you can build Theano from source using pip:

pip install Theano
like image 87
Nils Werner Avatar answered Oct 27 '22 05:10

Nils Werner


Installation of theano/pymc3 with python 3.6 for windows 10

I've had serious problems to find an installation that makes pymc3 work properly. With "import pymc3" I've got a fatal error usually. According to the many blog contributions - which I tested all.... - it does seem to be a procedure not completely stable yet. BUT: based on the Anaconda distribution the follwing did work for me (for Jupyter also):

(see also: http://deeplearning.net/software/theano/install_windows.html)

  1. conda install theano
  2. conda install pygpu
  3. pip install pymc3 (pip necessary when using python 3.6)
like image 23
pyano Avatar answered Oct 27 '22 05:10

pyano