Here are the steps I followed:
1. Of course download QtGecko-main folder with all the files in it
2. Execute the following code in terminal: "cd /storage/emulated/0/Qtgecko-main/src
3. Executing this to proceed with the launch of QtGecko.py: "python QtGecko.py"
4. It says that no module "PyQt5" is found.
5. Execute following command: "pip install PyQt5"
6. Works until the generation of metadata, that's where I get the error.
Here are exactly everything written in the terminal from the 2nd step to the error:
/storage/emulated/0 $ cd /storage/emulated/0/QtGecko-main/src
/storage/emulated/0/QtGecko-main/src $ python QtGecko.py
Traceback (most recent call last):
File "/storage/emulated/0/QtGecko-main/src/QtGecko.py", line 2, in <module>
import os, sys, math, \
ModuleNotFoundError: No module named 'PyQt5'
/storage/emulated/0/QtGecko-main/src $ pip install PyQt5
Collecting PyQt5
Downloading PyQt5-5.15.9.tar.gz (3.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 1.7 MB/s eta 0:00:00 Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
Traceback (most recent call last):
File "/data/user/0/ru.iiec.pydroid3/files/arm-linux-androideabi/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/data/user/0/ru.iiec.pydroid3/files/arm-linux-androideabi/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/data/user/0/ru.iiec.pydroid3/files/arm-linux-androideabi/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 152, in prepare_metadata_for_build_wheel
whl_basename = backend.build_wheel(metadata_directory, config_settings)
File "/data/data/ru.iiec.pydroid3/cache/pip-build-env-ogm6f0w6/overlay/lib/python3.9/site-packages/sipbuild/api.py", line 46, in build_wheel
project = AbstractProject.bootstrap('wheel',
File "/data/data/ru.iiec.pydroid3/cache/pip-build-env-ogm6f0w6/overlay/lib/python3.9/site-packages/sipbuild/abstract_project.py", line 87, in bootstrap
project.setup(pyproject, tool, tool_description)
File "/data/data/ru.iiec.pydroid3/cache/pip-build-env-ogm6f0w6/overlay/lib/python3.9/site-packages/sipbuild/project.py", line 586, in setup
self.apply_user_defaults(tool)
File "project.py", line 68, in apply_user_defaults
super().apply_user_defaults(tool)
File "/data/data/ru.iiec.pydroid3/cache/pip-build-env-ogm6f0w6/overlay/lib/python3.9/site-packages/pyqtbuild/project.py", line 70, in apply_user_defaults
super().apply_user_defaults(tool)
File "/data/data/ru.iiec.pydroid3/cache/pip-build-env-ogm6f0w6/overlay/lib/python3.9/site-packages/sipbuild/project.py", line 237, in apply_user_defaults
self.builder.apply_user_defaults(tool)
File "/data/data/ru.iiec.pydroid3/cache/pip-build-env-ogm6f0w6/overlay/lib/python3.9/site-packages/pyqtbuild/builder.py", line 69, in apply_user_defaults
raise PyProjectOptionException('qmake',
sipbuild.pyproject.PyProjectOptionException
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.