Did you restart web2py after installation?
--
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 a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/UINJvjQAyZk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/f86e442f-924a-4c97-b773-7865277006c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
import psycopg2
connection = psycopg2.connect(database="test_db", user="test", password="xxxxx", host="xxx-994.postgres.pythonanywhere-services.com", port=10994)
On this one I run web2py on Windows. Using web2py from source. No idea what virtualenv is, so presumably not using it. Installed psycopg2 with pip3 specifically, to make sure it goes into the right Python. (I am not too familiar with this, but anything I install with pip goes to Python 2, and pip3 puts everything under Python 3 which I use for web2py). And yes, this is my development computer, so I restart web2py every time.
On Sun, Jun 16, 2019, 7:21 AM Val K <valq...@gmail.com> wrote:
Did you restart web2py after installation?
--
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 a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/UINJvjQAyZk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+unsubscribe@googlegroups.com.
import psycopg2
connection = psycopg2.connect(database="test_db", user="test", password="xxxxx", host="xxx-994.postgres.pythonanywhere-services.com", port=10994)
To unsubscribe from this group and all its topics, send an email to web...@googlegroups.com.
It's perfect now.
Thank you very much