I just did a clean install of Ubuntu 14.04 and also installed pycharm. Pycharm said setuptools and pip weren't installed and offered to install it. I simply clicked "Ÿes" and it seemed to install it. A bit after that I wanted to install Flask (which is awesome btw) using pip, so I did sudo pip install flask
. To my surprise it said the following:
Traceback (most recent call last):
File "/usr/local/bin/pip", line 5, in <module>
from pkg_resources import load_entry_point
File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2797, in <module>
File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 576, in resolve
def resolve(self, requirements, env=None, installer=None,
pkg_resources.DistributionNotFound: pip==1.4.1
So I simply tried the regular way: I downloaded get-pip.py and ran that, but that says: Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages
I found some other similar problems here on SO, which suggested to look in /usr/local/lib/python2.7/site-packages/
, but that folder is empty.
Does anybody know what's wrong and how I can fix this? All tips are welcome!