Building on Win7 x64 for python2.6.4 x64 DLL load failed Error

Поиск
Список
Период
Сортировка
От Jack Straw
Тема Building on Win7 x64 for python2.6.4 x64 DLL load failed Error
Дата
Msg-id CAOz4VE3-6F4vnO8Goum+DVS8jiPB=OJxHVZaNXPXHfc6hnT9xQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Building on Win7 x64 for python2.6.4 x64 DLL load failed Error  (Jack Straw <jack.straw@saddingtonbaynes.com>)
Re: Building on Win7 x64 for python2.6.4 x64 DLL load failed Error  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список psycopg
Hi, 

I am trying to build psycopg2 for a version of python that is packaged with the 3D creation package Maya (version 2013). I can build and install psycopg2 to the python install but when load the module I get the following error;

# Error: ImportError: file C:\Program Files\Autodesk\Maya2013\Python\lib\site-packages\psycopg2\__init__.py line 50: DLL load failed: %1 is not a valid Win32 application. # 

My build process is;
  • Run the x64 VS9 build environment setup script
  • Build the cextenstion, including the right libs and headers; "C:\Program Files\Autodesk\Maya2013\bin\mayapy.exe" setup.py build_ext -"IC:\Program Files\Autodesk\Maya2013\include\python2.6" -"LC:\Program Files\Autodesk\Maya2013\lib"
  • Build the rest of the module
  • Install






В списке psycopg по дате отправления:

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Re: PostgreSQL 9.3 support?
Следующее
От: Jack Straw
Дата:
Сообщение: Re: Building on Win7 x64 for python2.6.4 x64 DLL load failed Error