Message326

Author zgoda
Recipients pje, quentinsf, warner, wdoekes, wonlay, zgoda, zooko
Date 2009-07-15.08:43:30
Content
In my case importing any systemwide package installed causes this warning:

jarek:~/dev/cruncher$ PYTHONPATH=$HOME/dev/cruncher/cruncher/lib python
>>> import cruncher
>>> import pkg_resources
__main__:1: UserWarning: Module cruncher was already imported from 
cruncher/__init__.pyc, but /Users/jarek/dev/cruncher/cruncher/lib is being added 
to sys.path
>>> 
jarek:~/dev/cruncher$ PYTHONPATH=$HOME/dev/cruncher/cruncher/lib python
>>> import cruncher
>>> import psycopg2
/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/psycopg2-2.0.11-py2.5-macosx-10.5-i386.egg/psycopg2/_psycopg.py:3: 
UserWarning: Module cruncher was already imported from cruncher/__init__.pyc, 
but /Users/jarek/dev/cruncher/cruncher/lib is being added to sys.path
  import sys, pkg_resources, imp
>>>
History
Date User Action Args
2009-07-15 08:43:30zgodasetmessageid: <1247647410.94.0.11758517578.issue36@psf.upfronthosting.co.za>
2009-07-15 08:43:30zgodasetrecipients: + zgoda, zooko, pje, warner, wonlay, quentinsf, wdoekes
2009-07-15 08:43:30zgodalinkissue36 messages
2009-07-15 08:43:30zgodacreate