我在https://github.com/bigbluebutton/bigbluebutton-api-php回答之后安装了psycopg2但是当我编译这段代码时
import psycopg2
import pprint
import sys`
我收到此错误:
c:\code_python\tutorial>python main.py
Traceback (most recent call last):
File "main.py", line 16, in <module>
import psycopg2
File "C:\Python27.10\lib\psycopg2\__init__.py", line 50, in <module>
from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
ImportError: DLL load failed: %1 no es una aplicaci¾n Win32 vßlida.
psycopg2有什么问题?
答案 0 :(得分:1)
对不起我的问题,问题是我尝试安装psycopg2 x86,当我为我的电脑安装python x64。我下载psycopg2 x64并且一切正常