安装Jpype

1、下载JPype-0.5.4.2

2、

  
  
  
  
  1. python setup.py install 

error:

  
  
  
  
  1. 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 
  2. gcc: error trying to exec 'cc1plus': execvp: No such file or directory 
  3. error: command 'gcc' failed with exit status 1 

解决方法:

 

  
  
  
  
  1. yum install gcc-c++ 

 

你可能感兴趣的:(职场,休闲,cc1plus,jpype)