Pythonlibtorren

2024-06-30 13:21:44 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经用.msi安装程序在我的windows7机器上安装了pythonlibtorrent。当我导入libtorrent时,会出现以下错误:

Traceback (most recent call last):
  File "x:\Dropbox\PyDVR\torrent.py", line 3, in <module>
    import libtorrent as lt
ImportError: DLL load failed: %1 is not a valid Win32 application.

你知道我做错什么了吗?在


Tags: 机器most错误calltorrentfiledropboxmsi
1条回答
网友
1楼 · 发布于 2024-06-30 13:21:44

这可能是由于你的操作系统的架构。检查您的操作系统是否是64位的,并且您正在运行64位的Python。如果不尝试匹配它们,问题可能会得到解决。还要检查libtorrent是否为64/32位。如果您的操作系统和python是64位的,并且您使用的是32位libtorrent,则可能会发生此问题。在

相关问题 更多 >