Issue #127 resolved

Import warning in pygments used in django

Anonymous created an issue

I use pygments by a BBcode like tag in django and it works but I see this warning in the terminal: {{{ /usr/lib64/python2.4/site-packages/Pygments-0.1-py2.4.egg/pygments/plugin.py:34: UserWarning: Module django was already imported from /usr/lib64/python2.4/site-packages/django/init.pyc, but /usr/lib64/python2.4/site-packages is being added to sys.path }}}

Reported by Riklaunim riklaunim@gmail.com

Comments (5)

  1. Anonymous
    • edited description

    birkenfeld verified that with a non django application too:

    2006-10-27T14:40:53  <birkenfeld> ok
    2006-10-27T14:41:17  <birkenfeld> mitsuhiko: #127 comes from setuptools
    2006-10-27T14:41:22  <birkenfeld> something with your entrypoints
    2006-10-27T14:42:00  <mitsuhiko> hmm
    2006-10-27T14:42:21  <mitsuhiko> birkenfeld: does that happen for you too?
    2006-10-27T14:42:44  <birkenfeld> mitsuhiko: no, but it happens on flying.circus.pocoo.org
    

    I'll work on that.

  2. Log in to comment