安装依赖时出现错误:命令以1的退出状态结束

15
    ERROR: Command errored out with exit status 1:
 command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ib3vl4vt/web.py/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ib3vl4vt/web.py/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
     cwd: /tmp/pip-install-ib3vl4vt/web.py/
Complete output (7 lines):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-ib3vl4vt/web.py/setup.py", line 6, in <module>
    from web import __version__
  File "/tmp/pip-install-ib3vl4vt/web.py/web/__init__.py", line 14, in <module>
    import utils, db, net, wsgi, http, webapi, httpserver, debugerror
ModuleNotFoundError: No module named 'utils'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

在安装InsecureBankv2/AndroLabServer中的requirements.txt时,我遇到了这些错误。由于这些问题,似乎InsecureBankv2应用程序无法登录到我的服务器。

我应该怎么做来解决这个问题?

3个回答

4
你尝试过吗?
pip install utils

@MMascarin 也许可以尝试使用pip install python-utils命令安装python-utils,并将其导入为utils。 - Zhiyuan Chen

0

尝试在Linux上使用这个

python3 -m pip install win32gui

0
我是如何解决这个错误消息的,是通过执行 py -3 -m pip install 命令,然后一切正常了。我使用的是2020年7月份的Windows 10,并且是在虚拟环境中运行。
当我尝试安装coderedcms时,就会出现这个错误。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接