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. [...] -- Cordially, Noufal http://nibrahim.net.in _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers