[Slackbuilds-users] Installing scipy on -current
J. Milgram
milgram at cgpp.com
Thu Sep 11 12:38:14 UTC 2025
Hello all,
Am running into problems installing scipy using the SlackBuild.
There must be something I don't understand about using sbotools on a
-current system. If someone can set me straight, I'd be grateful.
The system:
* Slack64 -current, reasonably up to date.
* sbotools 3.8.1 (recently upgraded from sbotools 2)
Have in /etc/setuptools.conf:
REPO=https://github.com/Ponce/slackbuilds.git
* Python 3.12.11 from the stock distro
Basic approach I took:
/usr/sbin/sbocheck
/usr/sbin/sboinstall python3-scipy
sbocheck seems to work. The scipy build fails with:
ERROR Missing dependencies:
pythran<0.18.0,>=0.14.0
numpy
numpy<2.5,>=2.0.0
Perplexing, because sbotools did pick up the pythran dependency and
successfully built and installed python3-pythran-0.15.0
The numpy dependency is a tough one. If I try to install numpy directly with
sboinstall numpy (or python3-numpy)
I get...
numpy not found; skipping. (or: python3-numpy not found; skipping.)
Poking around my local copy of the repo, I noticed a
python3-numpy-legacy SlackBuild and gave it a try:
sboinstall numpy python3-numpy-legacy
... and it failed too, with various warnings such as:
NumPy 1.24.4 may not yet support Python 3.12
`numpy.distutils` is deprecated since NumPy 1.23.0...
No module named 'distutils.msvccompiler'
So I'm stuck. Fallback is to install directly with pip (this has worked
in the past), but I'd rather go with the flow, SlackBuilds-wise, if it
can be done.
Kind thanks for any ideas on how to do this.
regards
Judah
--
=====
milgram at cgpp.com
301-257-7069
More information about the SlackBuilds-users
mailing list