From: | Mike Rice <michael(dot)rice(at)gmail(dot)com> |
---|---|
To: | psycopg(at)postgresql(dot)org |
Subject: | Import issue after PIP install |
Date: | 2017-06-06 14:22:37 |
Message-ID: | CAH0POVKuyP-BmJDs4rHBEUvGOiHd_Q3ffE_q5Zj6pLwyMmP2ow@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | psycopg |
I'm currently trying to test out using psycopg2 and did a PIP install on my
windows machine. The problem is that as soon as I import the module I get
the following error thrown back:
--------------------------------------------------------------------------------------------------------------------------------------
File
"\\192.168.88.142\Mike\development\python\postgresql_connect_test.py", line
3, in <module>
import psycopg2
File "C:\Python 3.6\lib\site-packages\psycopg2\__init__.py", line 50, in
<module>
from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
ImportError: can't import datetime module
--------------------------------------------------------------------------------------------------------------------------------------
I'm still in the process of learning Python, and my Google-Fu has failed me
in finding out what's going on here. Any help would be appreciated.
--
- Mike
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2017-06-06 14:29:47 | Re: Import issue after PIP install |
Previous Message | Adrian Klaver | 2017-05-26 16:39:56 | Re: Build issue with Advance Toolchain |