pythonbrew icon indicating copy to clipboard operation
pythonbrew copied to clipboard

Pythonbrew fails to install Python 3.2 & 3.2.X

Open gitBugReportAccount opened this issue 13 years ago • 4 comments
trafficstars

I noticed that I'm not able to install Python 3.2 & 3.2.X. Every time I try, I get the following error:

ERROR: Failed to install setuptools.

In the build.log the last line has the following message:

Usage: /home/myUser/.pythonbrew/pythons/Python-3.2.3/bin/python [--prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--abiflags]

I'm able to install Python 2.7.3 and Python 3.1.4 without any problem.

gitBugReportAccount avatar Apr 16 '12 22:04 gitBugReportAccount

What platform are you on and which version of pythonbrew are you using?

socketbox avatar Apr 17 '12 00:04 socketbox

hi, I'm using ubuntu 11.10, pythonbrew 1.2 and I have the latest distribute installed (0.6.26)

gitBugReportAccount avatar Apr 18 '12 11:04 gitBugReportAccount

Hi, did this problem get fixed? I experience the same on Debian...

januz avatar Oct 22 '12 19:10 januz

Hi

Python3X has been installed although setuptools has not. Setuptools does not work with python3, you have to use distribute instead.

First you need to correct the usage error: go to your .pythonbrew/pythons/Python-3X/bin/

and substitute the symbolic link "python" so that it points to .pythonbrew/pythons/Python-3.2/bin/python3

Install distribute:

curl -O http://python-distribute.org/distribute_setup.py python distribute_setup.py

install pip for your brew

curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python

Cheers,

R

ragerri avatar Nov 21 '12 15:11 ragerri