Page MenuHomeSolus

scipy having trouble calling numpy
Closed, ResolvedPublic

Description

Python 3.10.4 (main, May 29 2022, 14:26:59) [GCC 12.1.1 20220522] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy.special
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.10/site-packages/scipy/special/__init__.py", line 649, in <module>
    from . import _ufuncs
ImportError: /usr/lib/python3.10/site-packages/scipy/special/_ufuncs.cpython-310-x86_64-linux-gnu.so.avx2: undefined symbol: npy_atan2
>>>

However, np.arctan2(3, 4), which I think is the function in numpy that uses t his symbol, runs just fine.

Revisions and Commits

R2856 scipy

Event Timeline

GZGavinZhao renamed this task from scipy having trouble using calling numpy to scipy having trouble calling numpy.Jul 29 2022, 3:38 AM
joebonrichie moved this task from Backlog to Package Fixes on the Software board.
joebonrichie added a subscriber: joebonrichie.

I'll take a look

Not sure what is going on with this. Updating scipy to 1.9.0 also means it no longer links to lapack properly, definitely something going funky with the linking...