Re: Installation of psycopg2

2011-10-07 Thread David Rippel
Ryan's suggestion to of using "sudo port select python python27" solved my problem. Thanks!! On Fri, Oct 7, 2011 at 8:53 AM, Ryan Schmidt wrote: > > On Oct 6, 2011, at 14:55, Ned Deily wrote: > > > Ryan Schmidt wrote: > > > >> On Oct 6, 2011, at 07:19, David Rippel wrote: > >>> (/Library/Framewor

Re: Installation of psycopg2

2011-10-06 Thread Ryan Schmidt
On Oct 6, 2011, at 14:55, Ned Deily wrote: > Ryan Schmidt wrote: > >> On Oct 6, 2011, at 07:19, David Rippel wrote: >>> (/Library/Frameworks/Python.framework/Versions/2.7/bin/python)? >> That's actually the MacPorts python 2.7 right there, assuming your >> frameworks_dir is set to its default

Re: Installation of psycopg2

2011-10-06 Thread Ned Deily
In article , Ryan Schmidt wrote: > On Oct 6, 2011, at 07:19, David Rippel wrote: > > (/Library/Frameworks/Python.framework/Versions/2.7/bin/python)? > That's actually the MacPorts python 2.7 right there, assuming your > frameworks_dir is set to its default value of /Library/Frameworks. No, th

Re: Installation of psycopg2

2011-10-06 Thread Ryan Schmidt
Remember to Reply All so this discussion remains on the mailing list. On Oct 6, 2011, at 07:58, David Rippel wrote: > Hi Ryan, > > Thanks for your quick reply! > > I seem to be missing something. Maybe you can explain this behavior - why it > works with the MacPorts python2.7 and doesn't work

Re: Installation of psycopg2

2011-10-06 Thread Ryan Schmidt
On Oct 6, 2011, at 07:19, David Rippel wrote: > I am trying to install psycopg2 using MacPorts (on MacOS 10.6.8). I have > installed Python2.7, and used the following command to install psycopg2: sudo > port install py27-psycopg2 > > The installation runs OK and finishes, but when I try to impo

Installation of psycopg2

2011-10-06 Thread David Rippel
Hi, I am trying to install psycopg2 using MacPorts (on MacOS 10.6.8). I have installed Python2.7, and used the following command to install psycopg2: sudo port install py27-psycopg2 The installation runs OK and finishes, but when I try to import psycopg2 on a python shell it fails. I did a little