我试着安装libtorrent-rasterbar,但是Python没有看到模块。El Captaine系统告诉我去哪找?
andrew: ~ $ brew install python3
Warning: python3-3.6.0_1 already installed
andrew: ~ $ brew install libtorrent-rasterbar
Warning: libtorrent-rasterbar-1.1.1 already installed
andrew: ~ $ python
Python 3.6.0 (default, Mar 4 2017, 12:32:37)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import libtorrent
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'libtorrent'
>>> 发布于 2017-03-27 10:24:36
对于python2来说,它是有用的:https://gist.github.com/jacobzelek/ecb6e98feb91d911e231可能用于python3也是类似的
https://stackoverflow.com/questions/42899295
复制相似问题