google / android-emulator-container-scripts

Apache License 2.0
1.89k stars 266 forks source link

Error install emu-docker with ubuntu-pro-1804-bionic-v20230522 in GCE #346

Open ngonhat94 opened 1 year ago

ngonhat94 commented 1 year ago

Obtaining file:///home/cloudemulator23/android-emulator-container-scripts Installing build dependencies ... done Checking if build backend supports build_editable ... done Getting requirements to build editable ... done Preparing editable metadata (pyproject.toml) ... error ERROR: Command errored out with exit status 1: command: /home/cloudemulator23/android-emulator-container-scripts/.venv/bin/python3 /home/cloudemulator23/android-emulator-container-scripts/.venv/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_editable /tmp/tmpoide3q1k cwd: /home/cloudemulator23/android-emulator-container-scripts Complete output (14 lines): Traceback (most recent call last): File "/home/cloudemulator23/android-emulator-container-scripts/.venv/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in main() File "/home/cloudemulator23/android-emulator-container-scripts/.venv/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/home/cloudemulator23/android-emulator-container-scripts/.venv/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 191, in prepare_metadata_for_build_editable return hook(metadata_directory, config_settings) File "/tmp/pip-build-env-prpba57c/overlay/lib/python3.6/site-packages/poetry/core/masonry/api.py", line 43, in prepare_metadata_for_build_wheel poetry = Factory().create_poetry(Path(".").resolve(), with_dev=False) File "/tmp/pip-build-env-prpba57c/overlay/lib/python3.6/site-packages/poetry/core/factory.py", line 43, in create_poetry raise RuntimeError("The Poetry configuration is invalid:\n" + message) RuntimeError: The Poetry configuration is invalid:

anamhira47 commented 1 year ago

I am having the same issue

rossanoua commented 1 year ago

any update?

YogiDwiAndrian commented 1 year ago

I am having the same issue on rhel 8

YogiDwiAndrian commented 1 year ago

i solved the problem by upgrade my python version to 3.10.13

I found out that the minimum version is 3.8. something, because I forgot the exact version for minimum