Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document python3 installation #2317

Closed
goodfeli opened this issue Dec 2, 2014 · 3 comments
Closed

Document python3 installation #2317

goodfeli opened this issue Dec 2, 2014 · 3 comments

Comments

@goodfeli
Copy link
Member

goodfeli commented Dec 2, 2014

The installation instructions don't specify how to install on python3, which is confusing. The instructions make it sound like if you have python3 installed then pip will automatically be linked to python3 and you can run "sudo pip install Theano". That is not really accurate.

"sudo apt-get install python-pip" will install a version of pip linked to python2 regardless of whether you have python3 installed. You need to run "sudo apt-get install python3-pip". You also need to explicitly run "pip3". pip will continue to be pip2, or at least it is on my machine.

To install Theano I had to get the right command from Pylearn2's travis installation script and then explicit invoke pip3:
sudo pip3 install -q --no-deps git+git://github.com/Theano/Theano.git

@nouiz
Copy link
Member

nouiz commented Dec 4, 2014

Thanks for the info. Not sure when someone will have the time to put this in the doc.

@nouiz
Copy link
Member

nouiz commented Jun 29, 2015

We now have single code base for python2 and 3. So nothing special todo now.

@nouiz nouiz closed this as completed Jun 29, 2015
@girmaw
Copy link

girmaw commented Jul 29, 2016

Thanks! That was very helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants