You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
'setuptools.build_meta' has no attribute '__legacy__'
Following some recommendations online, I also tried pip install . --no-use-pep517, however, to no avail, since that leads to ImportError: No module named 'skbuild'.
Full installation error output:
Processing /home/aalok/code/hanabi/hanabi-learning-environment
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /home/aalok/.local/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmphjwdxubr
cwd: /tmp/pip-req-build-6lvo9jzu
Complete output (10 lines):
Traceback (most recent call last):
File "/home/aalok/.local/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py", line 257, in<module>main()
File "/home/aalok/.local/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py", line 240, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/aalok/.local/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py", line 85, in get_requires_for_build_wheel
backend = _build_backend()
File "/home/aalok/.local/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py", line 76, in _build_backend
obj = getattr(obj, path_part)
AttributeError: module 'setuptools.build_meta' has no attribute '__legacy__'
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 /home/aalok/.local/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmphjwdxubr Check the logs for full command output.
The text was updated successfully, but these errors were encountered:
I run into a similar problem where I got ImportError: No module named 'setuptools.build_meta'. I'm running it in virtualenv and it got fixed by creating the virtualenv without -system-site-packages flag. It doesn't seem like you are running it in a virtual environment. If you haven't you can check out this thread for a more detailed discussion. I think there is someone having the same issue without using virtualenv. https://github.com/pypa/pip/issues/6264
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I try
pip install .
, I run intoFollowing some recommendations online, I also tried
pip install . --no-use-pep517
, however, to no avail, since that leads toImportError: No module named 'skbuild'
.Full installation error output:
The text was updated successfully, but these errors were encountered: