Skip to content

python3-config not found, here is a solution #170

@REDVM

Description

@REDVM

I use the project with uv and python3-config is not found in the virtualenv

so the line bash compile_mesh_painter.sh fails.

Some solutions recommends to install sudo apt install python3-dev but I do not recommend that as the python3-config newly installed will not have the same version as your python virtualenv.

I recommend to replace in the sh file
python3-config --extension-suffix by python -c "import sysconfig; print(sysconfig.get_config_var('EXT_SUFFIX'))"

Same results without needing an external tool

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