Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MichaelDavisTSN/d1133b638a962fe47a83063a174b4ef8 to your computer and use it in GitHub Desktop.
Save MichaelDavisTSN/d1133b638a962fe47a83063a174b4ef8 to your computer and use it in GitHub Desktop.
jtr-userdata-error
(custodian) [root@<<REDACTED>> cloud-custodian]# pip3 install ./tools/c7n_org
Processing ./tools/c7n_org
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
command: /opt/custodian/bin/python3 /opt/custodian/lib64/python3.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp8w9aco_5
cwd: /tmp/pip-req-build-nhhvynzx
Complete output (16 lines):
Traceback (most recent call last):
File "/opt/custodian/lib64/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
main()
File "/opt/custodian/lib64/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/opt/custodian/lib64/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 133, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "/tmp/pip-build-env-jiff9cbg/overlay/lib/python3.7/site-packages/poetry/masonry/api.py", line 38, in prepare_metadata_for_build_wheel
poetry = Factory().create_poetry(Path("."))
File "/tmp/pip-build-env-jiff9cbg/overlay/lib/python3.7/site-packages/poetry/factory.py", line 109, in create_poetry
package.add_dependency(name, constraint, category="dev")
File "/tmp/pip-build-env-jiff9cbg/overlay/lib/python3.7/site-packages/poetry/packages/package.py", line 333, in add_dependency
develop=constraint.get("develop", True),
File "/tmp/pip-build-env-jiff9cbg/overlay/lib/python3.7/site-packages/poetry/packages/directory_dependency.py", line 53, in __init__
self._full_path
ValueError: Directory ../.. does not seem to be a Python package
----------------------------------------
ERROR: Command errored out with exit status 1: /opt/custodian/bin/python3 /opt/custodian/lib64/python3.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp8w9aco_5 Check the logs for full command output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment