I've gotten the latest swig from CVS and built it on Windows. I tested
this on my project with Tcl, Java, CSharp and Python 2.4 without
problems. I can't seem to get Python 2.5 to work, however. Everything
builds fine, but when I try to actually import my package, I get this error:
>>> import TestPythonSML
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "TestPythonSML.py", line 8, in <module>
from Python_sml_ClientInterface import *
File "Python_sml_ClientInterface.py", line 5, in <module>
import _Python_sml_ClientInterface
ImportError: No module named _Python_sml_ClientInterface
I've tried this with both a debug and release build of python 2.5 and my
project without success. Again, Python 2.4 works fine. I had a similar
error before which stemmed from me not having "_d" in the name of the
swig-generated dll (in my case _Python_sml_ClientInterface_d.dll), but
that has been fixed and is working, so I don't think this has anything
to do with that.
Any ideas?
Thanks,
Bob
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Swig-devel mailing list
Swig-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/swig-devel