Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing awsebcli #22

Closed
twbarber opened this issue Nov 23, 2022 · 4 comments
Closed

Error installing awsebcli #22

twbarber opened this issue Nov 23, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@twbarber
Copy link

twbarber commented Nov 23, 2022

Orb version: Tested on 1.0.2 and 2.0.1

What happened:

EB CLI Setup failes with error.

installing awsebcli...
Fatal error from pip prevented installation. Full pip output in file:
    /home/circleci/.local/pipx/logs/cmd_2022-11-23_17.43.46_pip_errors.log

pip seemed to fail to build package:
    awsebcli

Some possibly relevant errors from pip install:
    error: subprocess-exited-with-error
    AttributeError: module 'distutils.log' has no attribute 'warning'
    error: metadata-generation-failed

Error installing awsebcli.


Exited with code exit status 1

Expected behavior:

Orb should successfully install awsebcli

Additional Information

Screenshot 2022-11-23 at 1 30 12 PM

@twbarber twbarber added the bug Something isn't working label Nov 23, 2022
@twbarber
Copy link
Author

Appears numpy had a similar issue recently, and root cause was related to a change in setuptools.

@moogsG
Copy link

moogsG commented Nov 23, 2022

Looking into pipx, it appears that it forces an update of setuptools when it creates the shared libs.
https://github.com/pypa/pipx/blob/main/src/pipx/shared_libs.py#L98

@moogsG
Copy link

moogsG commented Nov 23, 2022

Adding this PR from setuptools as it will fix the issue.
pypa/setuptools#3709

@twbarber
Copy link
Author

This issue was resolved with the fix mentioned by @moogsG - closing this issue as Solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants