[Distutils] pkg_resources: failed require
Ian Bicking
ianb at colorstudy.com
Mon May 30 09:54:39 CEST 2005
I notice when I install into app-packages/, then do:
>>> from pkg_resources import *
>>> require('SomePackage')
... fails ...
>>> import sys
>>> sys.path.append('app-packages')
>>> require('SomePackage')
... still fails ...
But if I fix sys.path immediately, then it does work, so the failure
seems to be sticky.
--
Ian Bicking / ianb at colorstudy.com / http://blog.ianbicking.org
More information about the Distutils-SIG
mailing list