Skip to content

numpy.disutils not found #39331

@beew

Description

@beew

Environment

  • OS: Ubuntu 24.04.1
  • Sage Version: 10.5

Steps To Reproduce

run

./configure

enable some packages that require setuptools e.g scs, then

make build 

then it failed with

ModuleNotFoundError: No module named 'numpy.distutils'

Config log

config.log

Package logs

scs-3.2.3.log

Additional Information

Ubuntu 24.04's python version is 3.12 where numpy.disutils is deprecated. I think overriding system's python3 and use the SPKG version in the configure step would fix it, but I am not sure how to do it.

https://numpy.org/doc/2.1/reference/distutils_status_migration.html

Thanks.

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions