On 06/28/2010 11:51 AM, Stéphane Klein wrote: > Le 28/06/2010 11:34, Thomas Jollans a écrit : >> On 06/28/2010 10:26 AM, Stéphane Klein wrote: >>> Hi, >>> >>> I write to you, to inform I can't install python-openid 2.2.3 version. >>> >>> I've writed to the author : >>> >>> """ >>> I've work on a project, I use AuthKit and this tool have a dependency >>> with python-openid-2.2.3 >>> >>> http://openidenabled.com/files/python-openid/packages/python-openid-2.2.3.tar.gz >>> >>> >>> >>> this file is missing on your server. >>> >>> To fix deployment issue, can you keep older library version ? >>> """ >> >> Use the link *you* posted. It will redirect you to an index page. Click >> "Python -- downloads". >> >> http://github.com/openid/python-openid/downloads >> >> Now was that really that difficult? >> > > This is my difficulty : > > steph...@stephane-desktop:$ cd /tmp > steph...@stephane-desktop:$ virtualenv env1 > New python executable in env1/bin/python > Installing setuptools............done. > steph...@stephane-desktop:$ source env1/bin/activate > (env1)steph...@stephane-desktop:$ pip install python-openid
Okay. Judging by <URL:http://pypi.python.org/pypi/python-openid> and <URL:http://github.com/openid/python-openid/issues>, installing the package via PyPI is known to currently be broken. In the mean time, you'd be advised to install it manually, that means: 1. download it from http://github.com/openid/python-openid/downloads 2. extract the tarball 3. python setup.py install -- Thomas > Downloading/unpacking python-openid > Downloading python-openid-2.2.3.tar.gz (unknown size): 12Kb downloaded I don't have the faintest idea why this would try to download an old version. Ah well. > Exception: > Traceback (most recent call last): > File > "/tmp/env1/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/basecommand.py", > line 120, in main > self.run(options, args) > File > "/tmp/env1/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/commands/install.py", > line 161, in run > requirement_set.prepare_files(finder, > force_root_egg_info=self.bundle, bundle=self.bundle) > File > "/tmp/env1/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/req.py", > line 879, in prepare_files > self.unpack_url(url, location, self.is_download) > File > "/tmp/env1/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/req.py", > line 1093, in unpack_url > self.unpack_file(temp_location, location, content_type, link) > File > "/tmp/env1/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/req.py", > line 1135, in unpack_file > self.untar_file(filename, location) > File > "/tmp/env1/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg/pip/req.py", > line 1192, in untar_file > tar = tarfile.open(filename, mode) > File "/usr/lib/python2.6/tarfile.py", line 1665, in open > return func(name, filemode, fileobj, **kwargs) > File "/usr/lib/python2.6/tarfile.py", line 1716, in gzopen > raise ReadError("not a gzip file") > ReadError: not a gzip file > > Storing complete log in /home/stephane/.pip/pip.log > -- http://mail.python.org/mailman/listinfo/python-list