Issues

Issue #31 resolved

2.0.X spams shell with UserWarnings

Jannis Leidel
created an issue

Having installed virtualenvwrapper 2.0.1 (with pip), my shell is spammed with UserWarnings: http://dpaste.de/eT3B/

My .profile files lists:

{{{ export WORKON_HOME=$HOME/.virtualenvs source /Library/Frameworks/Python.framework/Versions/2.6/bin/virtualenvwrapper.sh }}}

Comments (4)

  1. Jannis Leidel reporter

    Oh, it actually hasn't for some reason :/

    I removed the /Library/Frameworks/Python.framework/Versions/2.6/bin/virtualenvwrapper_bashrc file, which didn't help. Oddly, the virtualenvwrapper/__init__.py file contains the culprit warning. I wonder if it has something to do with the namespacing.

  2. Doug Hellmann repo owner

    I think that's it. The warning was there because in 1.x you weren't actually supposed to import the virtualenvwrapper package (it didn't do anything).

  3. Jannis Leidel reporter

    Yep, uninstalling and reinstalling virtualenvwrapper fixes this. For some reason namespaced packages don't have an __init__.py -- didn't know that :) Closing as resolved..

  4. Log in to comment