Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.066 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.00; 'paths': 0.07; 'skip:p 60': 0.07; 'subject:installation': 0.07; 'utf-8': 0.07; 'cc:addr :python-list': 0.11; 'added.': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; '31,': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'defined': 0.27; 'skip:" 20': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'message-id:@mail.gmail.com': 0.30; 'option': 0.32; 'sense': 0.34; 'message.': 0.35; 'problem': 0.35; 'problem.': 0.35; 'test': 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'hi,': 0.36; 'project': 0.37; 'pm,': 0.38; 'enough': 0.39; 'from:charset:utf-8': 0.61; 'skip:\xe2 10': 0.65; 'to:addr:gmail.com': 0.65; 'american': 0.66; 'college': 0.70; '8bit%:43': 0.74; 'export': 0.74; 'url:search': 0.81; 'directories,': 0.84; 'game,': 0.84; 'package"': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=6SUabMvQprlMR0pe3cbqlog5M/4pj5pCK/GzXByDPvs=; b=LrXnLbKjWssCu5DHXUvv8JqENlNFtf1H+3fn1c3sG90d28E7sP2vINTIqTrdKU6DKu 2NU/vUtxFXyyxf5QzaH1t7L9gwvFfO76q77MRv1v5F36B8LX7DfXhke3tDChARl71YpR cLtzQyDt3qab3cMFu1eaVWKu2czrvKNXmY/MZhAeXyayXn8+fSIMYl4NW555WbYLhjd2 5+P9bcdQ67pvp1n6cdxgCu+GXVpk46qHQF+SswdhCgS511gsOmY0YOFM+Xs4c+JMUQjs rlj3z822l9EYytkoVBbAVY+YZOXP1wTqfbywxmroAqOK6CdyBR0FNU4j9yiI0oJWrhUB xe+Q== MIME-Version: 1.0 X-Received: by 10.42.204.206 with SMTP id fn14mr1318355icb.58.1409495959695; Sun, 31 Aug 2014 07:39:19 -0700 (PDT) In-Reply-To: References: Date: Sun, 31 Aug 2014 16:39:19 +0200 Subject: Re: Psycopg2 package installation puzzle in Pycharm - any thoughts? From: =?UTF-8?B?Q2hyaXMg4oCcS3dwb2xza2HigJ0gV2Fycmljaw==?= To: andydtaylor@gmail.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 37 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1409495962 news.xs4all.nl 2868 [2001:888:2000:d::a6]:38146 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:77350 On Sun, Aug 31, 2014 at 4:19 PM, wrote: > Hi, > > I have a puzzle, for which I would appreciate your opinion on! That=E2=80=99s not much of a puzzle (a game, toy, or problem designed to te= st ingenuity or knowledge, as defined by Oxford American College Dictionary via http://google.com/search?q=3Ddefine+puzzle ). That=E2=80=99= 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 Pych= arm "preferences>project interpreter>add package" option it fails with the = below message. [snip] > export PATH=3D$PATH:/Applications/Postgres.app/Contents/Versions/9.3/bin/= pg_config $PATH contains paths to directories, not binaries. Change that line to: export PATH=3D$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 --=20 Chris =E2=80=9CKwpolska=E2=80=9D Warrick PGP: 5EAAEA16 stop html mail | always bottom-post | only UTF-8 makes sense