Issue #31 resolved

2.0.X spams shell with UserWarnings

Jannis Leidel avatarJannis 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

    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

    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

    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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.