Re: [Tutor] Challenges with psycopg2 on Python 3.2

2017-01-06 Thread Alan Gauld via Tutor
On 06/01/17 12:55, Admire Mutsikiwa wrote: > it screams on the Python3.2 prompt, it gives Hardly screaming, rather a polite complaint that you've messed up your indentation. import psycopg2 > File "", line 1 > import psycopg2 > ^ > IndentationError: unexpected indent I'll guess

[Tutor] Challenges with psycopg2 on Python 3.2

2017-01-06 Thread Admire Mutsikiwa
I am running Python on Debian 7 Wheezy. I am having challenges with psycopg2 on python 3.2. However, it is working well on python 2.7. When I do import psycopg2 on Python 2.7, the system will not complain. However, it screams on the Python3.2 prompt, it gives >>> import psycopg2 File "", line