Hello every one
I hope you are doing fine.
I need help to install TensorFlow or tflite in axc f 2152 even i tried to intall numpy but giving me same.
i tried few thing but it giving me the same error, can anybody will help me to figure it out.
below the error I am getting.
root@axcf2152:/opt/plcnext/# python3 -m pip install tflite
Collecting tflite
Using cached tflite-2.4.0-py2.py3-none-any.whl (87 kB)
Collecting numpy
Using cached numpy-1.23.3.tar.gz (10.7 MB)
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing metadata (pyproject.toml) … done
Collecting flatbuffers
Using cached flatbuffers-2.0.7-py2.py3-none-any.whl (26 kB)
Building wheels for collected packages: numpy
Building wheel for numpy (pyproject.toml) … error
error: subprocess-exited-with-error
× Building wheel for numpy (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [257 lines of output]
Running from numpy source directory.
setup.py:86: DeprecationWarning:
self.run_command(cmd)
File „/usr/lib/python3.10/distutils/dist.py“, line 985, in run_command
cmd_obj.run()
File „/var/volatile/tmp/pip-build-env-6mx_ukw8/overlay/lib/python3.10/site-packages/wheel/bdist_wheel.py“, line 299, in run
self.run_command(‚build‘)
File „/usr/lib/python3.10/distutils/cmd.py“, line 313, in run_command
self.distribution.run_command(command)
File „/usr/lib/python3.10/distutils/dist.py“, line 985, in run_command
cmd_obj.run()
File „/var/volatile/tmp/pip-install-5okmhkk6/numpy_3248415cda5747b78b1916954b2001ee/numpy/distutils/command/build.py“, line 62, in run
old_build.run(self)
File „/usr/lib/python3.10/distutils/command/build.py“, line 135, in run
self.run_command(cmd_name)
File „/usr/lib/python3.10/distutils/cmd.py“, line 313, in run_command
self.distribution.run_command(command)
File „/usr/lib/python3.10/distutils/dist.py“, line 985, in run_command
cmd_obj.run()
File „/var/volatile/tmp/pip-install-5okmhkk6/numpy_3248415cda5747b78b1916954b2001ee/numpy/distutils/command/build_src.py“, line 144, in run
self.build_sources()
File „/var/volatile/tmp/pip-install-5okmhkk6/numpy_3248415cda5747b78b1916954b2001ee/numpy/distutils/command/build_src.py“, line 155, in build_sources
self.build_library_sources(*libname_info)
File „/var/volatile/tmp/pip-install-5okmhkk6/numpy_3248415cda5747b78b1916954b2001ee/numpy/distutils/command/build_src.py“, line 288, in build_library_sources
sources = self.generate_sources(sources, (lib_name, build_info))
File „/var/volatile/tmp/pip-install-5okmhkk6/numpy_3248415cda5747b78b1916954b2001ee/numpy/distutils/command/build_src.py“, line 378, in generate_sources
source = func(extension, build_dir)
File „/var/volatile/tmp/pip-install-5okmhkk6/numpy_3248415cda5747b78b1916954b2001ee/numpy/core/setup.py“, line 758, in get_mathlib_info
raise RuntimeError(
RuntimeError: Broken toolchain: cannot link a simple C program.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
Thanks in Advanced
Looking forward