the issue also occurs with python-argparse installed: $ mkdir -p external/argparse $ touch external/__init__.py $ echo "import argparse" > external/argparse/__init__.py $ python -c "import external.argparse; import pkg_resources" -c:1: UserWarning: Module argparse was already imported from /usr/lib/python2.7/argparse.pyc, but /usr/lib/python2.7/dist-packages is being added to sys.path
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810019 Title: UserWarning printed on import pkg_resources' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/810019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs