[Slackbuilds-users] numpy builds w/problems
David Chmelik
dchmelik at gmail.com
Sun Mar 20 08:07:16 UTC 2022
Apparently; I reinstalled saved packages: now mathics 4 works on
Slackware64 15.1+current w/earlier numpy & OpenBLAS. However beforehand
I removed numpy3 and now was trying to rebuild because no longer could:
something else happens with that which I'm waiting on another attempt to
save output to a TXT...
On 3/20/22 12:51 AM, Matteo Bernardini wrote:
> maybe you just built numpy3 against OpenBLAS and then removed OpenBLAS
> from your system?
>
> Matteo
>
> Il giorno dom 20 mar 2022 alle ore 08:47 David Chmelik
> <dchmelik at gmail.com <mailto:dchmelik at gmail.com>> ha scritto:
>
> Some days/weeks ago I mentioned a build not working on Slackware64
> 15.1+current and Urchlay said we're not worrying about SBo-git
> until 15
> is ready (ready now except submissions I guess) so I resorted to
> report
> another SBo-git problem on LinuxQuestions.com (LQ) then ponce said
> post
> here...
> Built numpy3-1.21.2-x86_64-1ponce but some/most/all packages
> depending on it don't build right. One I maintain, mathics.SlackBuild
> (updated for Slackware 15 at
> http://davidchmelik.com/math/slackbuilds/academic/mathics.tar.gz
> <http://davidchmelik.com/math/slackbuilds/academic/mathics.tar.gz>
> but not
> updated on SBo[-git] yet) which I reported on
> http://GitHub.com/mathics <http://GitHub.com/mathics>
> who said I have a broken numpy... despite that built, something went
> wrong. I don't recall what others didn't build but don't need any
> these
> urgently unless anyone needs Slackware-current Mathics 4...
> Mathics 4 builds but crashes on run...
>
> d at cosmos:~$ mathics
> Traceback (most recent call last):
> File "/usr/lib64/python3.9/site-packages/numpy/core/__init__.py",
> line 22, in <module>
> from . import multiarray
> File
> "/usr/lib64/python3.9/site-packages/numpy/core/multiarray.py",
> line 12, in <module>
> from . import overrides
> File "/usr/lib64/python3.9/site-packages/numpy/core/overrides.py",
> line 7, in <module>
> from numpy.core._multiarray_umath import (
> ImportError: libopenblas.so.0: cannot open shared object file: No
> such
> file or directory
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "/usr/bin/mathics", line 33, in <module>
> sys.exit(load_entry_point('Mathics3==4.0.0', 'console_scripts',
> 'mathics')())
> File "/usr/bin/mathics", line 25, in importlib_load_entry_point
> return next(matches).load()
> File "/usr/lib64/python3.9/importlib/metadata.py", line 77, in load
> module = import_module(match.group('module'))
> File "/usr/lib64/python3.9/importlib/__init__.py", line 127, in
> import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
> File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
> File "<frozen importlib._bootstrap>", line 972, in
> _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 228, in
> _call_with_frames_removed
> File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
> File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
> File "<frozen importlib._bootstrap>", line 986, in
> _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 850, in
> exec_module
> File "<frozen importlib._bootstrap>", line 228, in
> _call_with_frames_removed
> File "/usr/lib64/python3.9/site-packages/mathics/__init__.py",
> line
> 8, in <module>
> import numpy
> File "/usr/lib64/python3.9/site-packages/numpy/__init__.py", line
> 150, in <module>
> from . import core
> File "/usr/lib64/python3.9/site-packages/numpy/core/__init__.py",
> line 48, in <module>
> raise ImportError(msg)
> ImportError:
>
> IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
>
> Importing the numpy C-extensions failed. This error can happen for
> many reasons, often due to issues with your setup or how NumPy was
> installed.
>
> We have compiled some common reasons and troubleshooting tips at:
>
> https://numpy.org/devdocs/user/troubleshooting-importerror.html
> <https://numpy.org/devdocs/user/troubleshooting-importerror.html>
>
> Please note and check the following:
>
> * The Python version is: Python3.9 from "/usr/bin/python3"
> * The NumPy version is: "1.21.2"
>
> and make sure that they are the versions you expect.
> Please carefully study the documentation linked above for further
> help.
>
> Original error was: libopenblas.so.0: cannot open shared object
> file: No
> such file or directory
>
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> <mailto:SlackBuilds-users at slackbuilds.org>
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> <https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users>
> Archives -
> https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> <https://lists.slackbuilds.org/pipermail/slackbuilds-users/>
> FAQ - https://slackbuilds.org/faq/ <https://slackbuilds.org/faq/>
>
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
More information about the SlackBuilds-users
mailing list