Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ERROR: Command errored out with exit status 1 while installing requirements

Tags:

python

android

    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.

While installing requirements.txt in InsecureBankv2/AndroLabServer, I got this errors. Because of these problems, It seems like InsecureBankv2 app won't login to my server.

What should I do to solve this problem?

like image 582
Jay Cho Avatar asked Jul 28 '19 17:07

Jay Cho


People also ask

How do I fix error commanded out with exit status 1?

The auto-py-to-exe library is mainly used to convert the python file(. py) into an executable file (.exe) and run it on windows. As shown below, we can install the package directly through the pip command in Python 3.8.

How do I upgrade pip?

Updating Pip When an update for pip is available, and you run a pip command, you will see a message that says, “You are using pip version xy. a, however version xy. b is available.” You can run “pip install --upgrade pip” to install and use the new version of pip.

How do you check logs for full command output?

You can try running the pip command by adding the --verbose flag. This will print out the logs in the Terminal, which you then can inspect.


1 Answers

Have you tried

pip install utils
like image 122
Zhiyuan Chen Avatar answered Sep 20 '22 05:09

Zhiyuan Chen