-
Notifications
You must be signed in to change notification settings - Fork 229
Open
Description
# python ./aws-elastic-beanstalk-cli-setup/scripts/ebcli_installer.py
***********************************
1. Locating virtualenv installation
***********************************
******************************************
2. Creating exclusive virtualenv for EBCLI
******************************************
created virtual environment CPython3.10.6.final.0-64 in 257ms
creator CPython3Posix(dest=/root/.ebcli-virtual-env, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/root/.local/share/virtualenv)
added seed packages: pip==23.0.1, setuptools==67.4.0, wheel==0.38.4
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
************************
3. Activating virtualenv
************************
*******************
4. Installing EBCLI
*******************
Collecting awsebcli
Using cached awsebcli-3.20.4.tar.gz (260 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-i0tbsjf1/awsebcli_e4afa248e75a4996bc5767081927f76d/setup.py", line 22, in <module>
with open("requirements.txt") as req:
FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Also finding this error everywhere which is caused by wrong usage of print in python:
# python /usr/local/lib/python3.10/dist-packages/ebcli/__init__.py
File "/usr/local/lib/python3.10/dist-packages/ebcli/__init__.py", line 215
print json.dumps(resource, indent=4)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
Shouldn't be print(json.dumps(resource, indent=4))
instead?
egs33
Metadata
Metadata
Assignees
Labels
No labels