Comment 9 for bug 299381

Revision history for this message
Václav Šmilauer (eudoxos) wrote :

Sorry, not the case here. I have matplotlib installed from package. Whe I run "import matplotlib" inside a program with embedded python interpreter, I get the warning, even though I made sure to delete all *.pyo and *.pyc files:

/usr/lib/python2.5/site-packages/pytz/__init__.py:29: UserWarning: Module dateutil was already imported from /var/lib/python-support/python2.5/dateutil/__init__.py, but /var/lib/python-support/python2.5 is being added to sys.path
  from pkg_resources import resource_stream

I don't get it in python/ipython prompt, however. Maybe it is not bug in matplotlib after all, but I would like to know the cause. Can you propose a solution, if you know of any?

Thanks, V.