Hy Everyone,
我尝试使用终端在我的服务器上安装脚本但是由于安装我遇到了错误。我将过去这里,终点站的最后一行。
Traceback (most recent call last):
File "/usr/bin/paster", line 4, in
command.run()
File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 93, in run
commands = get_commands()
File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 135, in get_commands
plugins = pluginlib.resolve_plugins(plugins)
File "/usr/lib/python2.7/dist-packages/paste/script/pluginlib.py", line 82, in resolve_plugins
pkg_resources.require(plugin)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 725, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: httpagentparser==1.7.8: Not Found for: r2 (did you run python setup.py develop?)
oneprovider@dedi-fr-20388:~$
有人可以帮我解决吗?应该安装python开发吗?如果有,怎么样? :d
答案 0 :(得分:0)
由于错误消息非常清楚:未安装httpagentparser https://pypi.python.org/pypi/httpagentparser
您应该先安装它,也许它可以在ubuntu软件中心使用。另外通过pip安装:
pip install httpagentparser
如果你不知道pip和/或没有安装pip。见https://pip.pypa.io/en/stable/installing/