python3-numpy won't compile
by TheNutCase from LinuxQuestions.org on (#6G8NS)
My operating system is Slackware 15.0, and I am trying to compile python3-numpy (a dependency of Blender 3.3.10), and attempting to do so results in the following outputCode:root@Galifrey:~# cd python3-numpy
root@Galifrey:~/python3-numpy# ./python3-numpy.SlackBuild
Running from numpy source directory.
/tmp/SBo/numpy-1.24.4/setup.py:67: DeprecationWarning:
`numpy.distutils` is deprecated since NumPy 1.23.0, as a result
of the deprecation of `distutils` itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use `setuptools < 60.0` for those Python versions.
For more details, see:
https://numpy.org/devdocs/reference/distutils_status_migration.html
import numpy.distutils.command.sdist
Note: if you need reliable uninstall behavior, then install
with pip instead of using `setup.py install`:
- `pip install .` (from a git repo or downloaded source
release)
- `pip install numpy` (last NumPy release on PyPI)
Traceback (most recent call last):
File "/tmp/SBo/numpy-1.24.4/setup.py", line 479, in <module>
setup_package()
File "/tmp/SBo/numpy-1.24.4/setup.py", line 458, in setup_package
generate_cython()
File "/tmp/SBo/numpy-1.24.4/setup.py", line 250, in generate_cython
raise RuntimeError(msg)
RuntimeError: Building NumPy requires Cython >= 0.29.30, found 0.29.27 at /usr/lib64/python3.9/site-packages/Cython/__init__.py
root@Galifrey:~/python3-numpy#How do I go about resolving that issue?
root@Galifrey:~/python3-numpy# ./python3-numpy.SlackBuild
Running from numpy source directory.
/tmp/SBo/numpy-1.24.4/setup.py:67: DeprecationWarning:
`numpy.distutils` is deprecated since NumPy 1.23.0, as a result
of the deprecation of `distutils` itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use `setuptools < 60.0` for those Python versions.
For more details, see:
https://numpy.org/devdocs/reference/distutils_status_migration.html
import numpy.distutils.command.sdist
Note: if you need reliable uninstall behavior, then install
with pip instead of using `setup.py install`:
- `pip install .` (from a git repo or downloaded source
release)
- `pip install numpy` (last NumPy release on PyPI)
Traceback (most recent call last):
File "/tmp/SBo/numpy-1.24.4/setup.py", line 479, in <module>
setup_package()
File "/tmp/SBo/numpy-1.24.4/setup.py", line 458, in setup_package
generate_cython()
File "/tmp/SBo/numpy-1.24.4/setup.py", line 250, in generate_cython
raise RuntimeError(msg)
RuntimeError: Building NumPy requires Cython >= 0.29.30, found 0.29.27 at /usr/lib64/python3.9/site-packages/Cython/__init__.py
root@Galifrey:~/python3-numpy#How do I go about resolving that issue?