openvinotoolkit / openvinotoolkit/open_model_zoo

not able to install openvino-dev

Open
#3,986 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4.4k
Forks
1.4k
Avg merge
4d 13h
Merged PRs (30d)
4

Description

sudo pip install openvino-dev
Collecting openvino-dev
Downloading openvino_dev-2024.4.0-16579-py3-none-any.whl.metadata (16 kB)
Collecting defusedxml>=0.7.1 (from openvino-dev)
Downloading defusedxml-0.7.1-py2.py3-none-any.whl.metadata (32 kB)
Collecting networkx<=3.1.0 (from openvino-dev)
Downloading networkx-3.1-py3-none-any.whl.metadata (5.3 kB)
Collecting numpy<2.0.0,>=1.16.6 (from openvino-dev)
Downloading numpy-1.26.4.tar.gz (15.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.8/15.8 MB 75.4 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
+ /usr/bin/python3 /tmp/pip-install-rphzyant/numpy_6b92072fa0614902a4b1cd00cfe4ce18/vendored-meson/meson/meson.py setup /tmp/pip-install-rphzyant/numpy_6b92072fa0614902a4b1cd00cfe4ce18 /tmp/pip-install-rphzyant/numpy_6b92072fa0614902a4b1cd00cfe4ce18/.mesonpy-wfovnvg0 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/tmp/pip-install-rphzyant/numpy_6b92072fa0614902a4b1cd00cfe4ce18/.mesonpy-wfovnvg0/meson-python-native-file.ini
The Meson build system
Version: 1.2.99
Source dir: /tmp/pip-install-rphzyant/numpy_6b92072fa0614902a4b1cd00cfe4ce18
Build dir: /tmp/pip-install-rphzyant/numpy_6b92072fa0614902a4b1cd00cfe4ce18/.mesonpy-wfovnvg0
Build type: native build
Project name: NumPy
Project version: 1.26.4

  ../meson.build:1:0: ERROR: Unknown compiler(s): [['cc'], ['gcc'], ['clang'], ['nvc'], ['pgcc'], ['icc'], ['icx']]
  The following exception(s) were encountered:
  Running `cc --version` gave "[Errno 2] No such file or directory: 'cc'"
  Running `gcc --version` gave "[Errno 2] No such file or directory: 'gcc'"
  Running `clang --version` gave "[Errno 2] No such file or directory: 'clang'"
  Running `nvc --version` gave "[Errno 2] No such file or directory: 'nvc'"
  Running `pgcc --version` gave "[Errno 2] No such file or directory: 'pgcc'"
  Running `icc --version` gave "[Errno 2] No such file or directory: 'icc'"
  Running `icx --version` gave "[Errno 2] No such file or directory: 'icx'"
  
  A full log can be found at /tmp/pip-install-rphzyant/numpy_6b92072fa0614902a4b1cd00cfe4ce18/.mesonpy-wfovnvg0/meson-logs/meson-log.txt
  [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.
[fedora@fedora-vm-100g ~]$

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report only names the sudo pip install openvino-dev command and its NumPy/Meson failure; begin by reproducing that command in the reported Fedora environment and checking the complete installation context. Done would require identifying a project-side fix or documenting a confirmed resolution, but no source file or test is identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.