Open robochopbg opened 4 days ago
Please i would like help with this. I want to use your project but cant because of this error import libtorrent as lt ImportError: DLL load failed while importing libtorrent: The specified module could not be found.
Regards
Ok finally got it working.
it was still missing 3 dll files. boost_python310-vc143-mt-x64-1_85.dll libcrypto-3-x64.dll libssl-3-x64.dll
Dependency walker is way to old to use. gives wrong info I used Dependencies from git - https://github.com/lucasg/Dependencies and showed correctly the files i was still missing
Hi, Thanks for your question and your provided solution. It's a good issue for other people with the same issue as you. Is there anything I can help you?
Hi there.
Actually yes. My project im working on crashes everytime when the libtorrent crreate_session() is called. Is it not possible to get this code working with a gui (Pyside6) event loop.
when i run torrentp code by itself separate from my own project then the session gets created
If anyone knows any magic to get libtorrent to run from the same app as another python gui framework, i would like to know. So far the only way i can get libtorrent to work in my pyside6(Qt) app is to run the libtorrent code from its own module separate from the main app. So from the the main app i would call
self.p = QProcess() - Qt version of python subprocess self.command.append("torrents.py") - torrent libs code as in torrentp lib self.command.append(repr([magnet])) - pass the source (magnet/torrent) as a sys.argv argument self.p.startDetached("python", self.command) - run the module in its own process
now the gui event loop does not crash and libtorrent session is running in it's own process
Please how and where to get the libtorrent dependency files This project uses libtorrent and import libtorrent as lt import fails dll not found.
I tried the whole compiling of libtorrent but its not working. Python 3.10 64bit
Thanks