Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Error during - pip install . -  #111

@dellamuradario

Description

@dellamuradario

Hi all,

I'm trying to install neural-speed library. I'm following this tutorial Build Python package (Recommended way) .

System configuration:
OS : WSL2 - Linux DESKTOP-PNBMAG8 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Python: Python 3.10.12

My steps:

  1. CREATE PROJECT FOLDER: neural-speed-tutorial
  2. CREATE VIRTUAL ENV: python3 -m venv neural-speed-env
  3. CLONE NEURAL-SPEED REPOSITOTY: git clone https://github.com/intel/neural-speed.git
  4. RUN: pip install -r requirements.txt (successful)
  5. pip install .

TERMINAL LOG ERROR:
`
CMake Error in neural_speed/application/CMakeLists.txt:
Imported target "pybind11::module" includes non-existent path

      "/usr/include/python3.10"

    in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

    * The path was deleted, renamed, or moved to another location.

    * An install or uninstall procedure did not complete successfully.

    * The installation package was faulty and references files it does not
    provide.

`

What could be the solution? Did I miss any crucial steps during the installation or while executing the commands listed above?

Thank you for any suggestions.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions