我正在尝试安装 pyodbc。我做了所有推荐的步骤,并不断收到此错误:
python setup.py build<br>
running build<br>
running build_ext<br>
building 'pyodbc' extension<br>
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC -DPYODBC_VERSION=3.0.7 -I/usr/include/python2.4 -c /home/hyelluas/pyodbc-3.0.7/src/getdata.cpp -o build/temp.linux-x86_64-2.4/home/hyelluas/pyodbc-3.0.7/src/getdata.o -Wno-write-strings<br>
/home/hyelluas/pyodbc-3.0.7/src/connection.h:27: error: âuintptr_tâ does not name a type
error: command 'gcc' failed with exit status 1
有人看过吗?知道下一步该怎么做吗?我看过文件connection.h
,对我来说看起来不错。