如何让Python在mac os中看到libtorrent-rasterbar?

时间:2017-03-20 08:56:31

标签: python macos

我尝试安装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'
>>> 

1 个答案:

答案 0 :(得分:0)

对于python2,它可以工作:https://gist.github.com/jacobzelek/ecb6e98feb91d911e231 可能对于python3同样是