gpt4 book ai didi

python - 您是否运行python setup.py开发?

转载 作者:行者123 更新时间:2023-12-03 09:09:46 24 4
gpt4 key购买 nike

大家好

我尝试使用终端在服务器上安装脚本,但是由于安装我收到错误消息。我将在这里过去,终点站的最后几行。

 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

最佳答案

由于错误消息非常清楚:未安装httpagentparser https://pypi.python.org/pypi/httpagentparser

您应该先安装它,也许可以在ubuntu软件中心中找到它。通过pip进行其他安装:

pip install httpagentparser

如果您不知道pip和/或未安装pip。参见 https://pip.pypa.io/en/stable/installing/

关于python - 您是否运行python setup.py开发?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36564817/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com