Kodi Community Forum
Win python38.dll is not found - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Win python38.dll is not found (/showthread.php?tid=372578)



python38.dll is not found - zplutor - 2023-03-18

Hi, I'm developing an add-on which depends on an addition module "cryptography". I've got an error message during the add-on initialization: "ImportError: DLL load failed while importing _rust: the specified module could not be found."

With the help of ProcessMonitor, I have found out the missing DLL is "python38.dll", which is the last DLL kodi.exe tried to load and failed during the add-on initialization. I have checked kodi's installation directory and could not found "python38.dll" but only "python3.8.dll". I'm a newbie to python,  I totally have no idea what is the difference between "pythong38.dll" and "python3.8.dll".

Could someone please tell me how to resolve the issue? Thanks.


RE: python38.dll is not found - DarrenHill - 2023-03-18

Thread moved to addon development


RE: python38.dll is not found - scott967 - 2023-03-23

How did you build cryptography?  From the docs I read "Cryptography ships statically-linked wheels for macOS, Windows, and Linux".  I'm thinking that's not going to work on kodi.

scott s.
.


RE: python38.dll is not found - zplutor - 2023-03-23

I didn't build cryptography. I dowloaded its wheel (as well as its dependencies' wheels) with such a command "pip3 download cryptography --platform=x86_amd64 --no-deps", unzipped the wheels and placed them into the add-on directory.