calm-artist-46894
03/11/2020, 1:27 AMpip
and setuptools
from local system?
(I am helping a college to debug build failure remotely and the error message suggest it is pip and setuptool related)enough-analyst-54434
03/11/2020, 4:45 PMcalm-artist-46894
03/11/2020, 4:49 PM17:28:32 00:21 [requirements]
17:28:32 00:21 [cache]
No cached artifacts for 30 targets.
Invalidated 30 targets. ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.6 /tmp/tmp4rxujdkv/.deps/pip/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpr1c3sul1
cwd: /tmp/pip-download-9gm4fzms/ujson
Complete output (10 lines):
Traceback (most recent call last):
File "/tmp/tmp4rxujdkv/.deps/pip/pip/_vendor/pep517/_in_process.py", line 257, in <module>
main()
File "/tmp/tmp4rxujdkv/.deps/pip/pip/_vendor/pep517/_in_process.py", line 240, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/tmp/tmp4rxujdkv/.deps/pip/pip/_vendor/pep517/_in_process.py", line 85, in get_requires_for_build_wheel
backend = _build_backend()
File "/tmp/tmp4rxujdkv/.deps/pip/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.6 /tmp/tmp4rxujdkv/.deps/pip/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpr1c3sul1 Check the logs for full command output.
Waiting for background workers to finish.
17:28:52 00:41 [complete]
thought it might be related to:
https://github.com/pypa/pip/issues/6264
Issue was resolved after
python3 -m pip install pip setuptools --upgrade
enough-analyst-54434
03/11/2020, 4:54 PMujson
? If that's correct - do you know the version?calm-artist-46894
03/12/2020, 2:19 AM