I'm trying to install pythonbrew without networking, coz our test/production environment is totally isolated from the outside world. so we have to install packages use local repositories.
Here is the problem:
distribute_setup.py already exists under $HOME/.pythonbrew/dists/
[oliveagle@ubuntu dists ]$ ll
total 27992
-rw-rw-r-- 1 oliveagle oliveagle 723082 May 28 01:46 distribute-0.6.43.tar.gz
-rw-r--r-- 1 oliveagle oliveagle 17319 May 28 01:46 distribute_setup.py
-rw-r--r-- 1 oliveagle oliveagle 11608002 Nov 17 2012 Python-2.5.6.tgz
-rw-r--r-- 1 oliveagle oliveagle 14135620 Nov 15 2012 Python-2.7.3.tgz
-rw-rw-r-- 1 oliveagle oliveagle 51254 Mar 30 01:11 pythonbrew-1.3.3.tgz
-rw-rw-r-- 1 oliveagle oliveagle 6192 Mar 30 01:15 virtualenv-clone.tar.gz
-rw-r--r-- 1 oliveagle oliveagle 1857001 Mar 30 01:15 virtualenv.tar.gz
[oliveagle@ubuntu dists ]$ pythonbrew install Python-2.7.3.tgz
Use the previously fetched /home/oliveagle/.pythonbrew/dists/Python-2.7.3.tgz
Extracting Python-2.7.3.tgz into /home/oliveagle/.pythonbrew/build/Python-2.7.3
This could take a while. You can run the following command on another shell to track the status:
tail -f "/home/oliveagle/.pythonbrew/log/build.log"
Patching Python-2.7.3
Installing Python-2.7.3 into /home/oliveagle/.pythonbrew/pythons/Python-2.7.3
Downloading distribute_setup.py as /home/oliveagle/.pythonbrew/dists/distribute_setup.py
curl: (6) Couldn't resolve host 'python-distribute.org'
After this error, I have to run these command by myself:
pythonbrew use 2.7.3
python $HOME/.pythonbrew/dists/distribute_setup.py
I'm trying to install pythonbrew without networking, coz our test/production environment is totally isolated from the outside world. so we have to install packages use local repositories.
Here is the problem:
distribute_setup.py already exists under $HOME/.pythonbrew/dists/
After this error, I have to run these command by myself: