Why is PyCharm unable to find the correct verion of pip to install a Python module?
Question: OSX: 10.9.5

PyCharm: 4.5

I am working on project in PyCharm IDE, using the 2.7.3 Python interpreter and
need to import the`psycopg2` module. I tried to install the module with
PyCharm, but it failed and asked me to do it manually:

[Image of error message](http://i.stack.imgur.com/2tLL8.png)

So I typed that command in the bash shell, the module installed and now it
shows up in the project interpreter 2.7.2 but not in 2.7.3 !!!!!

Maybe the `pip` version is too old? I upgraded pip from the bash shell: `pip
install --upgrade pip`

  * python 2.7.2 shows version 7.1.0
  * [python 2.7.3](http://i.imgur.com/8gIw9VZ.png) shows version 1.5.6


Answer: You didn't specify what pip version you have. My guess is that the pip version
is too old and PyCharm passing some flag which returns deprecation warning
which cause it to fail. Try updating pip: `pip install --upgrade pip`

