On Thu, Feb 3, 2011 at 1:20 PM, Arve Knudsen <[email protected]> wrote:
> Hello
> I have a rather serious problem with distribute 0.6.14, in that it won't
> install for me under Python 2.7 on Linux (RHEL 4u6). What happens is this:
> -bash-3.00$ python distribute_setup.py
> Extracting in /tmp/tmphDMO8m
> Traceback (most recent call last):
>   File "distribute_setup.py", line 485, in <module>
>     main(sys.argv[1:])
>   File "distribute_setup.py", line 481, in main
>     _install(tarball)
>   File "distribute_setup.py", line 73, in _install
>     tar = tarfile.open(tarball)
>   File "/usr/local/lib/python2.7/tarfile.py", line 1663, in open
>     raise ReadError("file could not be opened successfully")
> tarfile.ReadError: file could not be opened successfully

Weird, works for me:

arek@tarek-laptop:/tmp$ wget http://python-distribute.org/distribute_setup.py
--2011-02-03 13:27:33--  http://python-distribute.org/distribute_setup.py
Resolving python-distribute.org... 88.191.66.185
Connecting to python-distribute.org|88.191.66.185|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15757 (15K) [text/x-python]
Saving to: `distribute_setup.py'

100%[===================================================================================>]
15,757      18.9K/s   in 0.8s

2011-02-03 13:27:39 (18.9 KB/s) - `distribute_setup.py' saved [15757/15757]

tarek@tarek-laptop:/tmp$ sudo python2.7 distribute_setup.py
[sudo] password for tarek:
Downloading 
http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz
Extracting in /tmp/tmpw5VpwH
Now working in /tmp/tmpw5VpwH/distribute-0.6.14
Installing Distribute
...some install output..


>
> Is the official distribute 0.6.14 archive bad?

No. Can you try to download it and unpack it manually from
http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz
?

Maybe there's an permission issue somehow when you call the script.


> Arve
> _______________________________________________
> Distutils-SIG maillist  -  [email protected]
> http://mail.python.org/mailman/listinfo/distutils-sig
>
>



-- 
Tarek Ziadé | http://ziade.org
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to