libtorrent icon indicating copy to clipboard operation
libtorrent copied to clipboard

ImportError: DLL load failed while importing libtorrent:

Open Skreball opened this issue 9 months ago • 5 comments

Hello, i have this issue since 4 days i use python the thing is i had module not found i fixed it by adding open ssl dll but now i have this error ImportError: DLL load failed while importing libtorrent: The application could not start because its side-by-side configuration is incorrect. For more information, see the application event log or use the command-line sxstrace.exe tool. im on windows atlas os (10)

Skreball avatar Mar 28 '25 20:03 Skreball

Duplicate of

  • https://github.com/arvidn/libtorrent/issues/7338

baseplate-admin avatar Apr 05 '25 03:04 baseplate-admin

I kind of fixed the problème i now have side by side configuration error did every c++ redist update but still nothing

Skreball avatar Apr 05 '25 09:04 Skreball

if the python module is not built linking all of its dependencies statically (which it isn't by default) then you still need those dependencies. Perhaps most importantly the main libtorrent library DLL.

arvidn avatar Apr 27 '25 12:04 arvidn

Hi, @arvidn, can we statically link the dependencies?

It would make the life easiier.

baseplate-admin avatar Apr 27 '25 15:04 baseplate-admin

Hey @Skreball,

I have created libtorrent-windows-dll, please give it a shot and let me know if you still run into this issue.

Thanks :D

baseplate-admin avatar Jul 05 '25 10:07 baseplate-admin