Getting error: legacy-install-failure while installing OpenVino - python

I keep getting error: legacy-install-failure error while installing OpenVino using pip install openvino-dev[ONNX,tensorflow2]. I've tried to upgrade and reinstall wheel, setup tool and pip.
Below is the full error:
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
Encountered error while trying to install package.
numpy
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

The error occurs due to unsupported Python version (Python 3.10 is not yet supported by OpenVINO™). OpenVINO™ Toolkit is supported only for Python versions 3.6-3.9 on Windows OS.
Refer to the System Requirements for more information.

Related

Is there a way to fix this numpy error while install mxnet?

error:
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
Rolling back uninstall of numpy
Moving to c:\users\asus\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\scripts\f2py.exe
from C:\Users\ASUS\AppData\Local\Temp\pip-uninstall-m_36_24_\f2py.exe
Moving to c:\users\asus\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages\numpy-1.24.0.dist-info
from C:\Users\ASUS\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages~umpy-1.24.0.dist-info
Moving to c:\users\asus\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages\numpy
from C:\Users\ASUS\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages~-mpy
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> numpy
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Reinstalling everything, I'm trying to operate the Insightface for education purpose.

Problem installing Pycaret in Google Colab

I am trying to install pycaret in Google Colab and I am getting this error:
error: **subprocess-exited-with-error**
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Preparing metadata (setup.py) ... error
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.
I am attaching the screenshot for reference. Can anyone help me with that? Thanks in advance
I was trying !pip install pycaret[full] on Google Colab and this happened:
I just ran into the same issue. Was able to get around it running the cell with a regular pip install twice in succession:
pip install pycaret

pip installing a local file gives me error

I am trying to install Open3D from https://github.com/isl-org/Open3D/tree/master/python because I would like to edit the code therefore I am not installing Open3D from PyPI. I downloaded the file from github to my local files and ran pip install Downloads/Open3D/python. I ran the installation under the python subdirectory because it contain setup.py and requirements.txt. However when I run the command pip install Downloads/Open3D/python, I get this error.
Processing c:\users\md fardin nahid\downloads\open3d\python
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
C:\Users\MDFARD~1\AppData\Local\Temp\pip-build-env-35qkg2d4\overlay\Lib\site-packages\setuptools\config\setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
error in #PYPI_PACKAGE_NAME# setup command: 'NoneType' object has no attribute 'group'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
I have tried directly installing from the github using pip install "git+https://github.com/isl-org/Open3D.git" which did not work because the directory did not contain setup.py or pyproject.toml.
Anyone know how I can fix this issue? or anyone know any other ways I am able to download Open3D from github so that I can edit the code? I am using anaconda. I am new to this package stuff. Thanks.
Windows 11
pip 22.2.2
python 3.7.15
git version 2.38.1.1

how to solve odoo subprocess-exited-with-error?

i'm using odoo 14.0 version and python 3.10
pip install -r requirements.txt
whenever I write this it gives me the same error over and over
I tried almost all the solutions
it gives me this:
error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

Failed building wheel for scikit-learn. Encountered error while trying to install package

I am trying to run a project from github. While installing its requirements, I get the following error:
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for scikit-learn
Running setup.py clean for scikit-learn
Failed to build scikit-learn
I have tried the solutions given in other answers but nothing worked.

Categories

Resources