so i am trying to import libtorrent from python file to make some code that download a torrent, but when I import it, it returns the following error
Traceback (most recent call last):
File "/Users/myUser/Documents/someDirectory/test.py", line 1, in <module>
import libtorrent
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/libtorrent.so, 2): no suitable image found. Did find:
/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/libtorrent.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x03
/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/libtorrent.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x03
I'm on macOS Mojave 10.14.6. Thank you, it would help a lot.