首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何让Python在mac os中看到libtorrent-rasterbar?

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

Stack Overflow用户
提问于 2017-03-20 08:56:31
回答 1查看 604关注 0票数 1

我试着安装libtorrent-rasterbar,但是Python没有看到模块。El Captaine系统告诉我去哪找?

代码语言:javascript
复制
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'
>>> 
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-03-27 10:24:36

对于python2来说,它是有用的:https://gist.github.com/jacobzelek/ecb6e98feb91d911e231可能用于python3也是类似的

票数 -2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/42899295

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档