最近升级到 Ubuntu 15.04,现在当我尝试运行 irc bot sopel 时出现此错误:
File "/usr/local/bin/sopel", line 9, in <module>
load_entry_point('sopel==6.0.0a4', 'console_scripts', 'sopel')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 521, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2632, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2312, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2318, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
ImportError: No module named run_script
如果这个问题很愚蠢,我提前道歉 - 我是初学者,但我设法让 willie(sopel 的旧版本)在我使用的最后一个操作系统下运行。我想我会让主机重建我的 VPS,但不知何故却忘记了如何让 irc 机器人运行,哈哈。