pythonbrew
pythonbrew copied to clipboard
Pythonbrew fails to install Python 3.2 & 3.2.X
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.
What platform are you on and which version of pythonbrew are you using?
hi, I'm using ubuntu 11.10, pythonbrew 1.2 and I have the latest distribute installed (0.6.26)
Hi, did this problem get fixed? I experience the same on Debian...
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