電腦系統是window 7 64位的 安裝的python是2.7 64位的 安裝的jpype 也是64位的
可是執行python代碼
#coding=utf-8
import jpype
jvmPath = jpype.getDefaultJVMPath()
print jvmPath
jpype.shutdownJVM() 報錯
ImportError: DLL load failed: %1 不是有效的 Win32 應用程序。
求大神幫忙看看,困擾好幾天了!/(ㄒoㄒ)/~~
1 个解决方案
C:\Windows\system32>python
Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500
32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>