我正试图通过synaptic package manager安装洪水,但我遇到了问题: Depends: python-libtorrent but it is not going tobe installedThe following packages have unmet dependencies:
python-libtorrent : Depends: libtorrent-rasterbar6 (=
symbol "public: __thiscall libtorrent::torrent_info::torrent_info(struct libtorrent::lazy_entry const6libtorrent@@YAAAV?$basic_ostream@DU?clear@lazy_entry@libtorrent@@QAEXXZ) referenced in function "public: __thiscall libtorrent::lazy_entryto_he
apt install python3-libtorrent
ses = lt.session()我能够install python3-libtorrent。但是我无法导入libtorrent。它显示的是ModuleNotFoundError: No module named 'libtorrent'。它显示第二个代码是错误的,即"import
在编译libtorrent教程时,使用:=> fatalerror: libtorrent/session.hpp: No such file or directory
尽管安装了libtorrent-rasterbar7 7( libtorrent-rasterbar.so.7和libtorrent-rast
apt install python3-libtorrent3 import libtorrent as lt5 ses = lt.session()7 downloads = [] 它在第3行运行了一个错误,内容是: ModuleNotFoundError: No module named 'libtorrent' 完整的输出是Done
python3-libtorrent is already the newes
例如,要获得LibTorrent,我必须运行:$ sudo apt-get install python3-libtorrent (LibTorrent是一个带有Python绑定的C++库)。python3 main.py File "main.py", line 4, in <module>ModuleNotFoundError: No module name