Hi Tarek<div><br></div><div>Nevermind, there was a problem with the Python installation so that it didn't support zlib. Reinstalling Python fixed it :) Sorry for bothering you. It might be an idea to embellish distribute_setup.py though, so that it detects that Python can't untar the gzipped archive (due to missing zlib support). That would've saved us some confusion at least :)</div>
<div><br></div><div>Arve <br><br><div class="gmail_quote">On Thu, Feb 3, 2011 at 1:30 PM, Tarek Ziadé <span dir="ltr"><<a href="mailto:ziade.tarek@gmail.com">ziade.tarek@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Thu, Feb 3, 2011 at 1:20 PM, Arve Knudsen <<a href="mailto:arve.knudsen@gmail.com">arve.knudsen@gmail.com</a>> wrote:<br>
> Hello<br>
> I have a rather serious problem with distribute 0.6.14, in that it won't<br>
> install for me under Python 2.7 on Linux (RHEL 4u6). What happens is this:<br>
> -bash-3.00$ python distribute_setup.py<br>
> Extracting in /tmp/tmphDMO8m<br>
> Traceback (most recent call last):<br>
> File "distribute_setup.py", line 485, in <module><br>
> main(sys.argv[1:])<br>
> File "distribute_setup.py", line 481, in main<br>
> _install(tarball)<br>
> File "distribute_setup.py", line 73, in _install<br>
> tar = tarfile.open(tarball)<br>
> File "/usr/local/lib/python2.7/tarfile.py", line 1663, in open<br>
> raise ReadError("file could not be opened successfully")<br>
> tarfile.ReadError: file could not be opened successfully<br>
<br>
</div></div>Weird, works for me:<br>
<br>
arek@tarek-laptop:/tmp$ wget <a href="http://python-distribute.org/distribute_setup.py" target="_blank">http://python-distribute.org/distribute_setup.py</a><br>
--2011-02-03 13:27:33-- <a href="http://python-distribute.org/distribute_setup.py" target="_blank">http://python-distribute.org/distribute_setup.py</a><br>
Resolving python-distribute.org... 88.191.66.185<br>
Connecting to <a href="http://python-distribute.org" target="_blank">python-distribute.org</a>|88.191.66.185|:80... connected.<br>
HTTP request sent, awaiting response... 200 OK<br>
Length: 15757 (15K) [text/x-python]<br>
Saving to: `distribute_setup.py'<br>
<br>
100%[===================================================================================>]<br>
15,757 18.9K/s in 0.8s<br>
<br>
2011-02-03 13:27:39 (18.9 KB/s) - `distribute_setup.py' saved [15757/15757]<br>
<br>
tarek@tarek-laptop:/tmp$ sudo python2.7 distribute_setup.py<br>
[sudo] password for tarek:<br>
Downloading <a href="http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz" target="_blank">http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz</a><br>
Extracting in /tmp/tmpw5VpwH<br>
Now working in /tmp/tmpw5VpwH/distribute-0.6.14<br>
Installing Distribute<br>
...some install output..<br>
<div class="im"><br>
<br>
><br>
> Is the official distribute 0.6.14 archive bad?<br>
<br>
</div>No. Can you try to download it and unpack it manually from<br>
<a href="http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz" target="_blank">http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz</a><br>
?<br>
<br>
Maybe there's an permission issue somehow when you call the script.<br>
<br>
<br>
> Arve<br>
> _______________________________________________<br>
> Distutils-SIG maillist - <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
> <a href="http://mail.python.org/mailman/listinfo/distutils-sig" target="_blank">http://mail.python.org/mailman/listinfo/distutils-sig</a><br>
><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Tarek Ziadé | <a href="http://ziade.org" target="_blank">http://ziade.org</a><br>
</font></blockquote></div><br></div>