我下載了 omniORBpy-4.2.0-win32-py27
根據README.txt
我新建了一個PYTHONPATH
裡面包含\lib\python, lib\x86_win32這兩個目錄
我python 的版本是:
Python 2.7 [MSC v.1500 32 bit(Intel) ] on win32
OS是 Win7
當我下cmd : import CORBA
出現以下錯誤
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import CORBA
File "D:\omniORBpy-4.2.0\lib\python\CORBA.py", line 3, in <module>
import sys, omniORB.CORBA
File "D:\omniORBpy-4.2.0\lib\python\omniORB\__init__.py", line 46, in
<module>
import _omnipy
ImportError: DLL load failed: 找不到指定的模組。
想請問我是哪裡沒有弄好嗎?
ps. sys.path 路徑有
C:\Python27\Lib\idlelib
C:\window\system32\python2\.zip
C:\Python27\DLLs
C:\Python27\lib
C:\Python27\lib\plat-win
C:\Python27\lib\lib-tk
C:\Python27
C:\Python27\lib\site-packages
D:\omniORBpy-4.2.0\lib\python
D:\omniORBpy-4.2.0\lib\x86_win32
麻煩各位高手幫我解惑了 <( _ _ ) >