推荐回答(1个)
1、下载JPype-0.5.4.2
2、
- python setup.py install
error:
- 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 -I/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/include -I/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/include/linux -Isrc/native/common/include -Isrc/native/python/include -I/usr/include/python2.4 -c src/native/common/jp_proxy.cpp -o build/temp.linux-x86_64-2.4/src/native/common/jp_proxy.o
- gcc: error trying to exec 'cc1plus': execvp: No such file or directory
- error: command 'gcc' failed with exit status 1
解决方法:
- yum install gcc-c++