Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #77350

Re: Psycopg2 package installation puzzle in Pycharm - any thoughts?

References <fe77f4c0-d45d-4baf-bd60-b8398c2bc0bb@googlegroups.com>
Date 2014-08-31 16:39 +0200
Subject Re: Psycopg2 package installation puzzle in Pycharm - any thoughts?
From Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.13661.1409495962.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, Aug 31, 2014 at 4:19 PM,  <andydtaylor@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Psycopg2 package installation puzzle in Pycharm - any thoughts? andydtaylor@gmail.com - 2014-08-31 07:19 -0700
  Re: Psycopg2 package installation puzzle in Pycharm - any thoughts? andydtaylor@gmail.com - 2014-08-31 07:21 -0700
  Re: Psycopg2 package installation puzzle in Pycharm - any thoughts? Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2014-08-31 16:39 +0200
  Re: Psycopg2 package installation puzzle in Pycharm - any thoughts? Andrea D'Amore <anddamNOALPASTICCIODICARNE+gruppi@brapi.net> - 2014-08-31 18:33 +0200
    Re: Psycopg2 package installation puzzle in Pycharm - any thoughts? andydtaylor@gmail.com - 2014-08-31 16:34 -0700
    Re: Psycopg2 package installation puzzle in Pycharm - any thoughts? andydtaylor@gmail.com - 2014-08-31 16:35 -0700
      Re: Psycopg2 package installation puzzle in Pycharm - any thoughts? andydtaylor@gmail.com - 2014-08-31 16:57 -0700
        Re: Psycopg2 package installation puzzle in Pycharm - any thoughts? andydtaylor@gmail.com - 2014-08-31 17:20 -0700
        Re: Psycopg2 package installation puzzle in Pycharm - any thoughts? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-09-01 01:53 +0100
      Re: Psycopg2 package installation puzzle in Pycharm - any thoughts? Andrea D'Amore <anddamNOALPASTICCIODICARNE+gruppi@brapi.net> - 2014-09-01 09:07 +0200
        Re: Psycopg2 package installation puzzle in Pycharm - any thoughts? andydtaylor@gmail.com - 2014-09-01 05:32 -0700
          Re: Psycopg2 package installation puzzle in Pycharm - any thoughts? Andrea D'Amore <anddamNOALPASTICCIODICARNE+gruppi@brapi.net> - 2014-09-01 15:13 +0200
          Re: Psycopg2 package installation puzzle in Pycharm - any thoughts? Chris Angelico <rosuav@gmail.com> - 2014-09-01 23:16 +1000
          Re: Psycopg2 package installation puzzle in Pycharm - any thoughts? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-09-01 14:31 +0100
            Re: Psycopg2 package installation puzzle in Pycharm - any thoughts? andydtaylor@gmail.com - 2014-09-01 16:13 -0700

csiph-web