I had similar issue when I upgraded, Update virtualenvwrapper, and try to create new venv it works but older ones fail. This bug is reported in launchpad. I tweeted about this in beginning of april but I couldn't get hold of it now.

vid<v...@svaksha.com>  writes:

An upgrade to ubuntu 12.04 gives this error:

$ sudo pip install virtualenvwrapper
Traceback (most recent call last):
   File "/usr/local/bin/pip", line 5, in<module>
     from pkg_resources import load_entry_point
   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2711,
in<module>
     parse_requirements(__requires__), Environment()
   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in 
resolve
     raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pip==1.1

Is it a missing (or just not versioned) dependency or packaging error?
Looks like the package metadata is getting messed up because of a non Ubuntu pip
(/usr/local/bin) and an Ubuntu Python.

I'd recommend that you either `apt-get install virtualenvwrapper` and
use that to manage your venvs or `apt-get install python-virtualenv`,
use that to create a virtualenv and install virtualenvwrapper inside
that venv and use that.

Using `sudo` to install something that touches system directories
(thereby bypassing the native package management framework) is usually
the first step to a broken system.

[...]




--
"Talk is cheap, show me the code" -- Linus Torvalds
Regards
Kracekumar.R
www.kracekumar.com

_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to