It's more complicated than that.  There are obsolete versions of some 
libraries, such as libel, which need to be replaced.  However, those libs 
are not easily replaced because you can't simply "ln" an entry into the 
directory where it needs to go.  There are workarounds, and potential 
problems with the workarounds.  This is all on El Capitan so your milage 
may vary.

It's just an unholy mess.  I'm really surprised the PostgresSQL and Apple 
people can't come up with a way around it.  Or the psycopg2 people. 
 Whoever.

-- Joe


On Saturday, September 10, 2016 at 5:14:48 AM UTC-7, Julian Sanchez wrote:
>
> Hi Joe,
>
> psycopg2 installs on mac (I have it on 3).  'pip install' will fail 
> because psycopg2 needs the postgresql client libraries already installed. 
>  If you have homebrew just do a 'brew postgresql' followed by 'pip install 
> psycopg2'.  It should work.
>
> Cheers,
> Julian
>
> On Thursday, September 8, 2016 at 9:43:02 PM UTC-5, Joe Barnhart wrote:
>>
>> Hi Massimo --
>>
>> Two issues...
>>
>> 1.  I use a Mac.  For whatever reason, psycopg2 does not "pip install" on 
>> a Mac.  I researched it for a day or so -- even AFTER having had it WORKING 
>> on my system until I "upgraded" to El Capitan and it all quit.  I am so 
>> done with psycopg2 because its installation is crap.
>>
>> 2.  The future belongs to pypy and psycopg2 doesn't work with it.  pg8000 
>> does.  There is a psycopg2.cffi but I don't know how mature it is.
>>
>> It's all enough to make me want to switch to MySql!
>>
>> -- Joe
>>
>>
>> On Wednesday, September 7, 2016 at 5:38:57 PM UTC-7, Massimo Di Pierro 
>> wrote:
>>>
>>> I strongly recommend you do not use pg8000. We always run into issues 
>>> with it. 
>>>
>>> pip install psycopg2
>>>
>>> Massimo
>>>
>>  
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to