From: "Nakor" <[email protected]>

> On willow (where I am getting 2.6 by default):
>
>   File "/home/nakor/junior/pywikibot/pywikibot/comms/threadedhttp.py",
> line 50, in <module>
>     pkg_resources.require("httplib2")
>   File
> "/opt/ts/python/2.6/lib/python2.6/site-packages/pkg_resources.py", line
> 626, in require
>     needed = self.resolve(parse_requirements(requirements))
>   File
> "/opt/ts/python/2.6/lib/python2.6/site-packages/pkg_resources.py", line
> 524, in resolve
>     raise DistributionNotFound(req)  # XXX put more info here
> pkg_resources.DistributionNotFound: httplib2

Willow does not have httplib2 installed by default; do you have "externals" 
in /home/nakor/junior/pywikibot?  (If you did a full svn install, you 
should.) Then you should edit ~/.bash_profile to add a line like:

PYTHONPATH=$HOME/junior/pywikibot/externals/httplib2:$HOME/junior/pywikibot; 
export PYTHONPATH

Russ




_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to