Joey Yi Zhao
Joey Yi Zhao

Reputation: 42418

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?

Upvotes: 5

Views: 18428

Answers (5)

javac
javac

Reputation: 2999

You cannot install theano on Python 3.6 if you want you can choose one of the versions below:

Python == 2.7* or ( >= 3.3 and < 3.6 )

Upvotes: 0

pyano
pyano

Reputation: 1978

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)

Upvotes: 2

Biranchi
Biranchi

Reputation: 16317

Python 3.6 requires pip3 to install Theano package.

$git clone git://github.com/Theano/Theano.git
$cd Theano
$sudo pip3 install -e .

Upvotes: 0

Nils Werner
Nils Werner

Reputation: 36719

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

Upvotes: 3

nivhanin
nivhanin

Reputation: 1908

No conda package for this library.

use pip install Theano

You may need to add sudo before the pip command to install into your system’s site-packages directory. If you do not have administrator access to your machine, you can install Theano locally (to ~/.local) using

pip install Theano --user

http://deeplearning.net/software/theano/install.html#

Upvotes: 0

Related Questions