Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scipy._build_utils is no longer available in scipy 1.10+ #444

Open
boegel opened this issue Aug 17, 2023 · 0 comments
Open

scipy._build_utils is no longer available in scipy 1.10+ #444

boegel opened this issue Aug 17, 2023 · 0 comments

Comments

@boegel
Copy link

boegel commented Aug 17, 2023

The scipy._build_utils used in setup.py is no longer shipped in scipy 1.10+, which leads to:

No module named 'scipy._build_utils'

This can be easily fixed by making the following change in setup.py:

# hardcoded value, used to be imported from scipy._build_utils (which is no longer available since scipy 1.10)
numpy_nodepr_api = dict(define_macros=[("NPY_NO_DEPRECATED_API", "NPY_1_9_API_VERSION")])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant