How can I get out of the zip installation and say, "Python setup.py egg_info did not run successfully?

Asked 1 years ago, Updated 1 years ago, 393 views

We are developing apps by Docker and Python.

pip install zip displays a message similar to the following:
I'd like to know how to get out of the error.

Reference Site

error messages:

× python setup.py eg_infodid not run successfully.
  │ exit code: 1
  - - > [9 lines of output ]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setup tools-caller>", line 34, in<module>
        File"/tmp/pipe-install-j_b38oqn/wsgiref_2ba90b298ac5464ea3ae97c382c62372/setup.py", line 5, in <module>
          import ez_setup
        File"/tmp/pipe-install-j_b38oqn/wsgiref_2ba90b298ac5464ea3ae97c382c62372/ez_setup/_init__.py", line 170
          print "Setupools version", version, "or greater has been installed."
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      SyntaxError: Missing parents in call to 'print'. Did you mean print(...)?
      [end of output]

  note —This error origin from a subprocess, and is likely not a problem with pip.
error:metadata-generation-failed

× Encounter error while generating package metadata.
- ->See above for output.

note —This is an issue with the package commented above, not pip.
hint —See above for details.
root@2b01a330cdbf:/#

python docker

2022-09-30 22:04

1 Answers

Considering the module name zip you are trying to install and the error message SyntaxError: Missing parents in call to 'print'. Did you mean print(...)?, the target is zip-PyPI and the repository is here flask and react?

The .travis.yaml, . described in SyntaxError: Missing parents in call to 'print'. Did you mean print(...)? and kdheepak/zip in the error message.This may be an issue you encountered while trying to install a module for Python 2.7 on ker.

To match the number of Python versions required, and the contents of requirements.txt in the zip repository are mainly flask and packages.json are mainly babel, react in the application environment.

There are about three ways of thinking.

  • What I want to do is kivy application development, and zip just happened to be a try
    → Do not install zip
  • zip is the main purpose
    →Find articles and explanations for making Docker in Python 2.7
  • I want an environment where I can use
  • flask or react, but it doesn't have to be zip
    → Do not install zip and look for articles and explanations about building an environment where you can use flask or react in Python 3.x series.
  • See if there are any problems in combination with the application development environment.


2022-09-30 22:04

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.