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

distribute_setup.py already exists but still need to download #130

Open
oliveagle opened this issue Jun 19, 2013 · 0 comments
Open

distribute_setup.py already exists but still need to download #130

oliveagle opened this issue Jun 19, 2013 · 0 comments

Comments

@oliveagle
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant