ERROR: Command errored out with exit status -4:
command: /home/trinity/insight_facerec/bin/python /home/trinity/insight_facerec/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /tmp/tmpzoayk0no
cwd: /tmp/pip-install-nr8_cs2l/insightface_93dfa750803c48f7bd9f18c3088950e7
Complete output (0 lines):
why this error occurs and also tell me how to create virtual env without using defualt python version (i am using jetpack 4.4.1 it comes with python 3.6.9 but i want to use 3.8 or 3.10)
command: /home/trinity/insight_facerec/bin/python -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-8_fvg4t9/insightface_d7a99811b42244f1b0618dc1605f1873/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-8_fvg4t9/insightface_d7a99811b42244f1b0618dc1605f1873/setup.py’“'”‘;f = getattr(tokenize, ‘"’“‘open’”’“‘, open)(file) if os.path.exists(file) else io.StringIO(’”‘“‘from setuptools import setup; setup()’”’“‘);code = f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’"‘))’ egg_info --egg-base /tmp/pip-pip-egg-info-yle0x5fa
cwd: /tmp/pip-install-8_fvg4t9/insightface_d7a99811b42244f1b0618dc1605f1873/
Complete output (0 lines):
why this error occurs
@AastaLLL plz provide solution for it
@AastaLLL
Downloading opencv-python-headless-4.7.0.72.tar.gz (91.1 MB)
|████████████████████████████████| 91.1 MB 4.5 kB/s
Installing build dependencies … done
Getting requirements to build wheel … error
ERROR: Command errored out with exit status 1:
command: /home/trinity/insight_facerec_venv/bin/python /home/trinity/insight_facerec_venv/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /tmp/tmp9z5a2ox8
cwd: /tmp/pip-install-fdjzscl1/opencv-python-headless_6e044fa245484d1dbd019386eee8f10d
Complete output (24 lines):
Traceback (most recent call last):
File “/home/trinity/insight_facerec_venv/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py”, line 363, in
main()
File “/home/trinity/insight_facerec_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/trinity/insight_facerec_venv/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py”, line 130, in get_requires_for_build_wheel
return hook(config_settings)
File “/usr/local/lib/python3.6/dist-packages/setuptools/build_meta.py”, line 163, in get_requires_for_build_wheel
config_settings, requirements=[‘wheel’])
File “/usr/local/lib/python3.6/dist-packages/setuptools/build_meta.py”, line 143, in _get_build_requires
self.run_setup()
File “/usr/local/lib/python3.6/dist-packages/setuptools/build_meta.py”, line 268, in run_setup
self).run_setup(setup_script=setup_script)
File “/usr/local/lib/python3.6/dist-packages/setuptools/build_meta.py”, line 158, in run_setup
exec(compile(code, file, ‘exec’), locals())
File “setup.py”, line 10, in
import skbuild
File “/tmp/pip-build-env-km68o9qz/overlay/lib/python3.6/site-packages/skbuild/init.py”, line 10, in
from .setuptools_wrap import setup
File “/tmp/pip-build-env-km68o9qz/overlay/lib/python3.6/site-packages/skbuild/setuptools_wrap.py”, line 40, in
from .command import (
File “/tmp/pip-build-env-km68o9qz/overlay/lib/python3.6/site-packages/skbuild/command/bdist_wheel.py”, line 5, in
from wheel.wheelfile import WheelFile
ModuleNotFoundError: No module named ‘wheel.wheelfile’
WARNING: Discarding https://files.pythonhosted.org/packages/4b/88/4ad713bd596cb82738cbf7b0549d57e3544a8f4771f6d5901715a73e3632/opencv-python-headless-4.7.0.72.tar.gz#sha256=eea59caa92b28b197f9d2a2dd8275ca3869718b2a857c8e53203de6ef3f9f4db (from Links for opencv-python-headless) (requires-python:>=3.6). Command errored out with exit status 1: /home/trinity/insight_facerec_venv/bin/python /home/trinity/insight_facerec_venv/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /tmp/tmp9z5a2ox8 Check the logs for full command output.
why these type of errors
Hi,
Do you want to install the insightface below?
The GitHub requires numpy>=1.22.3 which is not available for Jetson Nano.
To get more help, please check with the insightface team to see if they support the Jetson environment.
Thanks.