我已经用.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.
你知道我做错什么了吗?在
这可能是由于你的操作系统的架构。检查您的操作系统是否是64位的,并且您正在运行64位的Python。如果不尝试匹配它们,问题可能会得到解决。还要检查libtorrent是否为64/32位。如果您的操作系统和python是64位的,并且您使用的是32位libtorrent,则可能会发生此问题。在
相关问题 更多 >
编程相关推荐