> Joos Kiener <joos.kie...@gmail.com> hat am 11.05.2023 16:11 CEST geschrieben: > > > Hi Ernst-Georg, > > maybe you are running into the same issue as I was: > > https://github.com/rdkit/rdkit/discussions/6148#discussioncomment-5450102 > > You have to explicitly tell python where the dlls are: > > os.add_dll_directory(r"C:\path\to\rdkit\lib") > > before importing rdkit. > > From python documentation: > > DLL dependencies for extension modules and DLLs loaded with ctypes > https://docs.python.org/3/library/ctypes.html#module-ctypes on Windows are > now resolved more securely. Only the system paths, the directory containing > the DLL or PYD file, and directories added with add_dll_directory() > https://docs.python.org/3/library/os.html#os.add_dll_directory are searched > for load-time dependencies. Specifically, PATH and the current working > directory are no longer used, and modifications to these will no longer have > any effect on normal DLL resolution. > > Best Regards, > > Joos > > Hello Joos, that was the problem indeed. Thank you very much for your help. best regards Ernst-Georg
_______________________________________________ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss