Hi all,
Just wondering where to put python DLLs (.pyd) that are called in python modules we want to import? I've tried putting them in both .../Lianja/scriptinglanguages/python/DLLs and in .../Lianja/scriptinglanguages/python/Lib. In the "Using Python Modules" thread on here it mentions registry key editing and I've followed those instructions as well. What is happening now is:
- I have a python DLL "mydll.pyd" in the 2 folders mentioned above
- I have a script "myscript.py" in .../Lianja/scriptinglanguages/python/Lib which has at the top:
When I run in the Lianja Python console, it pops out:
Code:
**** Lianja Python error ****
Traceback (most recent call last):
File "Console" at line 1, in <module>
File "C:\lianja\scriptinglanguages\python\lib\myscript.py" at line 7, in <module>
import mydll
ImportError: DLL load failed: The specified module could not be found.
Has anyone had success importing python dlls? How did you do it?
Thanks.
Bookmarks