Hi All, I am having some issues with embedded ironpython and using standard python libraries. I have installed IronPython 2.7.4 and copied the "lib" folder to my applications output directory. I have added the path for the "lib" directory in Engine.SetSearchPaths(). However it is unable to load any packages installed in "site-packages". To get around this I need to add "lib\site-packages" to the search path. Is this the correct approach or am I doing something wrong?
Also, I installed numpy and scipy and it works fine from IronPython. However in my application when I try to import numpy, it gives an error, "No module found: mtrand". If I import clr and and do clr.AddReference('mtrand'), then import numpy it all works fine. So it seems like ironpython looks into dll's when we import a module, but my embedded engine does not. How do I fix this? Regards, Aravin
_______________________________________________ Ironpython-users mailing list Ironpython-users@python.org https://mail.python.org/mailman/listinfo/ironpython-users