我试图用raspbian在我的覆盆子pi上安装ibm_db。我一直尝试使用很多方法,但是没有人使用过,我总是得到这个输出:
root@raspberrypi:/home/pi# pip2 install ibm_db
Downloading/unpacking ibm-db
Downloading ibm_db-2.0.6.tar.gz (552kB): 552kB downloaded
Running setup.py (path:/tmp/pip-build-nzFdb7/ibm-db/setup.py) egg_info for package ibm-db
Detected 32-bit Python
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-build-nzFdb7/ibm-db/setup.py", line 149, in <module>
easy_cli_path = os.path.join(tmp_path, 'ibm_db-%s.egg' % ("-".join([VERSION, "py"+sys.version.split(" ")[0][0:3]]) if('win32' in sys.platform) else "-".join([VERSION, "py"+sys.version.split(" ")[0][0:3], os_, arch_])), 'clidriver')
NameError: name 'arch_' is not defined
Complete output from command python setup.py egg_info:
Detected 32-bit Python
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-build-nzFdb7/ibm-db/setup.py", line 149, in <module>
easy_cli_path = os.path.join(tmp_path, 'ibm_db-%s.egg' % ("-".join([VERSION, "py"+sys.version.split(" ")[0][0:3]]) if('win32' in sys.platform) else "-".join([VERSION, "py"+sys.version.split(" ")[0][0:3], os_, arch_])), 'clidriver')
NameError: name 'arch_' is not defined
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-nzFdb7/ibm-db
Storing debug log for failure in /root/.pip/pip.log
有人可以帮我或给我一些建议吗?
我感到沮丧!
提前致谢。