I had the same problem when installing web2py 2.19.1 on Mac OS X Catalina.

I eventually solved the problem running the following code:

Annets-Mini:~ me$ export PATH=/usr/local/Cellar/postgresql/12.1/bin/:$PATH
Annets-Mini:~ me$ export LDFLAGS="-L/usr/local/opt/readline/lib"
Annets-Mini:~ me$ export CPPFLAGS="-I/usr/local/opt/readline/include"
Annets-Mini:~ me$ export 
PKG_CONFIG_PATH="/usr/local/opt/readline/lib/pkgconfig"
Annets-Mini:~ me$ export 
LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/
Annets-Mini:~ me$ pip install psycopg2
Collecting psycopg2
  Using cached psycopg2-2.8.4.tar.gz (377 kB)
Installing collected packages: psycopg2
    Running setup.py install for psycopg2 ... done
Successfully installed psycopg2-2.8.4
Annets-Mini:~ me$

Your using Linux but maybe this information points you in
the right direction.


Kind regards,

Annet

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/1246ad80-9788-499d-b9fc-68667766d176%40googlegroups.com.

Reply via email to