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


Groups > comp.lang.python > #77371

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

X-Received by 10.50.33.18 with SMTP id n18mr10277923igi.8.1409528045629; Sun, 31 Aug 2014 16:34:05 -0700 (PDT)
X-Received by 10.140.105.52 with SMTP id b49mr517997qgf.3.1409528045441; Sun, 31 Aug 2014 16:34:05 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!uq10no7744270igb.0!news-out.google.com!q8ni7qal.1!nntp.google.com!m5no4754340qaj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Sun, 31 Aug 2014 16:34:05 -0700 (PDT)
In-Reply-To <ltvio4$q51$1@virtdiesel.mng.cu.mi.it>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=92.40.248.116; posting-account=ojw3_QoAAAB4Zzcen71hZ3z681_sEkyv
NNTP-Posting-Host 92.40.248.116
References <fe77f4c0-d45d-4baf-bd60-b8398c2bc0bb@googlegroups.com> <ltvio4$q51$1@virtdiesel.mng.cu.mi.it>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <4e4cd62e-7faf-44f7-9ea4-c7e23c8ef67f@googlegroups.com> (permalink)
Subject Re: Psycopg2 package installation puzzle in Pycharm - any thoughts?
From andydtaylor@gmail.com
Injection-Date Sun, 31 Aug 2014 23:34:05 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.python:77371

Show key headers only | View raw


Chris-

I have removed the second copy of postgres I had (postgres.app) and updated path variables in .bash_profile:

export PATH=$PATH:/usr/local/share/python
export PATH=$PATH:/usr/local/bin
export PYTHONPATH=$PYTHONPATH:/usr/local/bin/python
export PATH=$PATH:/usr/local/Cellar/postgresql/9.3.5_1/bin

I don't think I should need the last line because /usr/local/bin/pg_config exists as an alias for /usr/local/Cellar/postgresql/9.3.5_1/bin/pgconfig - do you think I am right?

I have read that window apps may be unable to pick up environment variables. hence I added the below to the end of my .bash_profile

launchctl setenv PATH $PATH

But still Pycharm wasn't having it.  So I have created /etc/launchd.conf and put this in it:

launchctl setenv PATH /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/python:/usr/local/bin

Now I am out of ideas..... It's quite maddening!

Any advice appreciated.

Thanks,

Andy




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