Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • I had it working, but after installing lion I get this message whenever I open a new terminal window. Commented Aug 6, 2011 at 22:30
  • When you installed Lion over an existing Snow Leopard system, you will "lose" all the 3rd-party packages that you installed in the Apple-supplied system Python because the default on 10.7 is now Python 2.7. If you changed the definition to be VIRTUALENVWRAPPER_PYTHON=/usr/bin/python2.6, chances are it would still work because there is still a system Python 2.6 on 10.7. But if you want to use the system Python 2.7 as your default, you need to install a copy of virtualenv for it. Just do sudo /usr/bin/easy_install virtualenv Commented Aug 6, 2011 at 23:31
  • @Blankman: Did that answer your question? If so, please mark the answer as accepted. If not, please refine the question so that someone can provide an acceptable answer. Commented Aug 8, 2011 at 3:48
  • @Ned Deily I've tried your advice to re-easy_install with no change in the error message. I've checked .profile and .bashrc, both of which are empty. Commented Aug 18, 2011 at 21:08
  • @Jon Hadley: What exactly did you reinstall where? You need to have used the appropriate easy_install to install virtualenv and virtualenvwrapper for the Python instance you are using. Neither of those packages modify .profile or .bashrc (nor .bash_profile). It's kind of difficult to diagnose things like this without more information. Perhaps you should pose your own question. Commented Aug 18, 2011 at 21:28