VerySource

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1314|回复: 2

初级BT问题,在线等。。。

[复制链接]

1

主题

1

帖子

2.00

积分

新手上路

Rank: 1

积分
2.00
发表于 2020-2-3 19:00:01 | 显示全部楼层 |阅读模式
下载了:BitTorrent-5.0.1.tar.gz
tar xzvf BitTorrent-5.0.1.tar.gz
cd BitTorrent-5.0.1

./bittorrent-tracker.py --port 6969 --dfile dstate
然后就是按照 README.txt安装,可是第一步就遇到这样的问题,错误提示如下:


Traceback (most recent call last):
  File "./bittorrent-tracker.py", line 17, in <module>
    from BitTorrent.translation import _
  File "/usr/soft/BitTorrent-5.0.1/BitTorrent/__init__.py", line 49, in <module>
    from BitTorrent.platform import get_temp_subdir, get_dot_dir, is_frozen_exe
  File "/usr/soft/BitTorrent-5.0.1/BitTorrent/platform.py", line 120, in <module>
    from BTL.defer import ThreadedDeferred
  File "/usr/soft/BitTorrent-5.0.1/BTL/defer.py", line 15, in <module>
    from twisted.internet import defer
ImportError: No module named twisted.internet

像是说不能导入twisted.internet
请问怎么解决?
回复

使用道具 举报

0

主题

23

帖子

13.00

积分

新手上路

Rank: 1

积分
13.00
发表于 2020-4-24 16:15:01 | 显示全部楼层
缺少twisted包,不知道是不是要自己装一个。你看下README.txt里面有没有关于twisted的说明吧。
回复

使用道具 举报

0

主题

1

帖子

2.00

积分

新手上路

Rank: 1

积分
2.00
发表于 2022-4-5 18:06:52 | 显示全部楼层
用cpan安装模块
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

快速回复 返回顶部 返回列表