On Fri, 2009-04-24 at 12:16 +0000, Björn Tillenius wrote: > > python -c 'import httplib2; print httplib2.__path__' > > ixia:~> python -c 'import httplib2; print httplib2.__path__' > /usr/local/lib/python2.6/dist-packages/httplib2-0.4.0-py2.6.egg/httplib2/__init__.py:29: DeprecationWarning: the md5 module is deprecated; use hashlib instead > /usr/local/lib/python2.6/dist-packages/httplib2-0.4.0-py2.6.egg/httplib2/__init__.py:44: DeprecationWarning: the sha module is deprecated; use the hashlib module instead > ['/usr/local/lib/python2.6/dist-packages/httplib2-0.4.0-py2.6.egg/httplib2']
That's odd.
Was this installed by setuptools at some point?
It seems that a new release of httplib2 has not been made with the python2.6 fix, so any setup.py install will lead to this error.
If you remove the egg and use the packaged version then you won't have this issue.
Thanks,
James
On Fri, 2009-04-24 at 12:16 +0000, Björn Tillenius wrote: lib/python2. 6/dist- packages/ httplib2- 0.4.0-py2. 6.egg/httplib2/ __init_ _.py:29: DeprecationWarning: the md5 module is deprecated; use hashlib instead lib/python2. 6/dist- packages/ httplib2- 0.4.0-py2. 6.egg/httplib2/ __init_ _.py:44: DeprecationWarning: the sha module is deprecated; use the hashlib module instead local/lib/ python2. 6/dist- packages/ httplib2- 0.4.0-py2. 6.egg/httplib2' ]
> > python -c 'import httplib2; print httplib2.__path__'
>
> ixia:~> python -c 'import httplib2; print httplib2.__path__'
> /usr/local/
> /usr/local/
> ['/usr/
That's odd.
Was this installed by setuptools at some point?
It seems that a new release of httplib2 has not been made with
the python2.6 fix, so any setup.py install will lead to this
error.
If you remove the egg and use the packaged version then you
won't have this issue.
Thanks,
James