Re: Installing via pip under Win7 + virtualenv + VC++2008
От | Joe Abbate |
---|---|
Тема | Re: Installing via pip under Win7 + virtualenv + VC++2008 |
Дата | |
Msg-id | 4DE82F44.2010509@freedomcircle.com обсуждение исходный текст |
Ответ на | Installing via pip under Win7 + virtualenv + VC++2008 (Stephen Lacy <slacy@slacy.com>) |
Список | psycopg |
On 06/02/2011 07:07 PM, Stephen Lacy wrote: > But, when running python, I get this: > > Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit > (Intel)] on > win32 > Type "help", "copyright", "credits" or "license" for more information. >>>> import psycopg2 > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "psycopg2\__init__.py", line 71, in <module> > from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID > ImportError: DLL load failed: The specified module could not be found. >>>> > > Any debugging help would be greatly appreciated. I know I can install > win-psycopg2, but I'd rather just get the pip install working for > everyone, since it automates the install in a scriptable way. The first thing I'd do is import sys print sys.path and take a look at the list of dirs. On Windows XP, non-virtualenv, I see Python\lib, Python\DLLs, Python\lib\plat-win, Python\lib\site-packages, among others. Joe
В списке psycopg по дате отправления: