I temporarily fixed this by commenting the following lines in pkg_resources.py folder in /site-packages/distribute.. folder.
issue_warning( "Module %s was already imported from %s, but %s is being added" " to sys.path" % (modname, fn, self.location), ) Now, I don't get any dateutil imported messages each time I launch an IPython session. On Wed, Sep 8, 2010 at 1:26 PM, Gökhan Sever <gokhanse...@gmail.com> wrote: > It is clear with python -c "import matplotlib" > I can't seem to find any "dateutil" phrase occurring within the IPython > installation folder (/site-packages/IPython) > Where else to look for? > > On Wed, Sep 8, 2010 at 12:35 PM, Aman Thakral <aman.thak...@gmail.com> > wrote: >> >> try this in the terminal: >> python -c "import matplotlib" >> >> -Aman >> >> On Wed, Sep 8, 2010 at 12:17 PM, Gökhan Sever <gokhanse...@gmail.com> >> wrote: >>> >>> Hello, >>> My usual ipython -pylab is giving me these warnings after I installed >>> matplotlib from the source (matplotlib rev.8624 using python setupegg.py >>> develop). >>> >>> /usr/lib/python2.6/site-packages/EPDLab-3.0.1.dev_r24658-py2.6.egg/enthought/__init__.py:7: >>> UserWarning: Module dateutil was already imported from >>> /home/user/Desktop/python-repo/matplotlib/lib/dateutil/__init__.pyc, but >>> /usr/lib/python2.6/site-packages is being added to sys.path >>> __import__('pkg_resources').declare_namespace(__name__) >>> >>> Under /site-packages in easy-install.pth I moved >>> the /home/user/Desktop/python-repo/matplotlib/lib line to the very bottom of >>> the file but this doesn't make any change. >>> Any ideas how to remove this warning? >>> -- >>> Gökhan >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.net Dev2Dev email is sponsored by: >>> >>> Show off your parallel programming skills. >>> Enter the Intel(R) Threading Challenge 2010. >>> http://p.sf.net/sfu/intel-thread-sfd >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Matplotlib-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >> >> >> >> -- >> Aman Thakral >> B.Eng & Biosci, M.Eng Design > > > > -- > Gökhan > -- Gökhan ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users