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 ===== Dongpyo Hong Research Assistant GIST U-VR Lab http://uvr.gist.ac.kr http://uvr.gist.ac.kr/~dhong Tel. +82-62-970-3157 (2279) Fax. +82-62-970-2204 Email. [EMAIL PROTECTED] or [EMAIL PROTECTED] =====
===== Dongpyo Hong Research Assistant GIST U-VR Lab http://uvr.gist.ac.kr http://uvr.gist.ac.kr/~dhong Tel. +82-62-970-3157 (2279) Fax. +82-62-970-2204 Email. [EMAIL PROTECTED] or [EMAIL PROTECTED] =====
-- http://mail.python.org/mailman/listinfo/python-list