Skip to content

Python module gets installed in wrong site-package directory #158

@awvwgk

Description

@awvwgk

When configuring with -DPython_EXECUTABLE using python 3.11, the installation picks up the version number correctly

--   Found PythonInterp: $PREFIX/bin/python3 (found suitable version "3.11.15", minimum required is "3.8")
--   Found PythonLibs: $PREFIX/lib/libpython3.11.so
--   Performing Test HAS_FLTO_AUTO
--   Performing Test HAS_FLTO_AUTO - Success
--   Found pybind11: $PREFIX/include (found version "3.0.2")
-- pybind11 installation found
-- Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Python3_LIBRARIES Development Development.Module Development.Embed) (found version "3.12.13")
-- Found Python: $PREFIX/bin/python (found version "3.11.15") found components: Interpreter Development Development.Module Development.Embed

However, later in the installation the extension module is installed for python 3.12

+ cmake --install _build
-- Install configuration: "Release"
-- Installing: $PREFIX/lib/python3.12/site-packages/parallelzone.so

Metadata

Metadata

Assignees

No one assigned

    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