Well, after several hours' googling
I just found that Python for Windows only allow .pyd instead of .dll.
When I just renamed .dll to .pyd, it just worked fine.
But I don't still get the reason why. Anyone can explain this?
--Dongpyo
On Apr 30, 2008, at 12:00 PM, Dongpyo Hong wrote:
Dear all,
I wrapped c++ code with swig, and made _xxx.dll file.
But, when I import xxx.py file from Python interpreter: import xxx
it keeps saying that "ImportError: No module named _xxx"
I checked sys.path and PATH environment.
Why is that? Any explanation?
--Dongpyo
=====
Do