Psycopg2 package installation puzzle in Pycharm - any thoughts?
Chris “Kwpolska” Warrick
kwpolska at gmail.com
Sun Aug 31 10:39:19 EDT 2014
On Sun, Aug 31, 2014 at 4:19 PM, <andydtaylor at gmail.com> wrote:
> Hi,
>
> I have a puzzle, for which I would appreciate your opinion on!
That’s not much of a puzzle (a game, toy, or problem designed to test
ingenuity or knowledge, as defined by Oxford American College
Dictionary via http://google.com/search?q=define+puzzle ). That’s a
problem.
> I have been trying to setup a project in Pycharm with psycopg2.
>
> If I install it using pip install it is added. However if I use the Pycharm "preferences>project interpreter>add package" option it fails with the below message.
[snip]
> export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.3/bin/pg_config
$PATH contains paths to directories, not binaries. Change that line to:
export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.3/bin
If that is not enough to make pycharm do it, you may try to install
from the Terminal:
cd /path/to/your/virtualenv
bin/pip install psycopg2
--
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense
More information about the Python-list
mailing list