# Slicer Stable 4.11.20210226 issue with scipy package in Linux

**URL:** https://discourse.slicer.org/t/slicer-stable-4-11-20210226-issue-with-scipy-package-in-linux/16354
**Category:** Support
**Tags:** python
**Created:** [March 4, 2021, 11:05am UTC](https://discourse.slicer.org/t/slicer-stable-4-11-20210226-issue-with-scipy-package-in-linux/16354 "2021-03-04T11:05:38Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Alex\_Vergara](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/alex_vergara/32/15205_2.png) [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)
#### Post date: [March 4, 2021, 11:05am UTC](https://discourse.slicer.org/t/slicer-stable-4-11-20210226-issue-with-scipy-package-in-linux/16354/1 "2021-03-04T11:05:38Z")

</div>

There is a problem with scipy package in linux in the new Slicer stable:

```auto
from scipy import signal
  File "/home/alex/Programas/Slicer3D/lib/Python/lib/python3.6/site-packages/scipy/signal/ __init__.py", line 289, in <module>
    from . import sigtools, windows
  File "/home/alex/Programas/Slicer3D/lib/Python/lib/python3.6/site-packages/scipy/signal/windows/ __init__.py", line 41, in <module>
    from .windows import *
  File "/home/alex/Programas/Slicer3D/lib/Python/lib/python3.6/site-packages/scipy/signal/windows/windows.py", line 7, in <module>
    from scipy import linalg, special, fft as sp_fft
  File "/home/alex/Programas/Slicer3D/lib/Python/lib/python3.6/site-packages/scipy/linalg/ __init__.py", line 194, in <module>
    from .misc import *
  File "/home/alex/Programas/Slicer3D/lib/Python/lib/python3.6/site-packages/scipy/linalg/misc.py", line 3, in <module>
    from .blas import get_blas_funcs
  File "/home/alex/Programas/Slicer3D/lib/Python/lib/python3.6/site-packages/scipy/linalg/blas.py", line 213, in <module>
    from scipy.linalg import _fblas
ImportError: /home/alex/Programas/Slicer3D/lib/Python/lib/python3.6/site-packages/scipy/linalg/_fblas.cpython-36m-x86_64-linux-gnu.so: ELF load command address/offset not properly aligned

```

Reinstalling scipy from python console solves the issue

```auto
from slicer.util import pip_install
pip_install('scipy -U')

```

---

<div class="post-metadata">

### Author: ![Sam\_Horvath](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sam_horvath/32/3092_2.png) [@Sam\_Horvath](https://discourse.slicer.org/u/Sam_Horvath)
#### Post date: [March 4, 2021, 2:47pm UTC](https://discourse.slicer.org/t/slicer-stable-4-11-20210226-issue-with-scipy-package-in-linux/16354/2 "2021-03-04T14:47:32Z")

</div>

This is an issue we are working on addressing: [Importing the numpy C-extensions failed. [slicer 4.11.20200930, archlinux] · Issue #5474 · Slicer/Slicer · GitHub](https://github.com/Slicer/Slicer/issues/5474)

It affects a number of python packages that are bundled with Slicer. See [Slicer-4.11.20200930: Can't import pip-installed Pillow on Linux](https://discourse.slicer.org/t/slicer-4-11-20200930-cant-import-pip-installed-pillow-on-linux/14448)

---

<div class="post-metadata">

### Author: ![Alex\_Vergara](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/alex_vergara/32/15205_2.png) [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)
#### Post date: [June 24, 2021, 7:28pm UTC](https://discourse.slicer.org/t/slicer-stable-4-11-20210226-issue-with-scipy-package-in-linux/16354/3 "2021-06-24T19:28:16Z")

</div>

Hey, Are there any news on solving this issue? I have several users complaining on this

---

<div class="post-metadata">

### Author: ![Sam\_Horvath](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sam_horvath/32/3092_2.png) [@Sam\_Horvath](https://discourse.slicer.org/u/Sam_Horvath)
#### Post date: [June 24, 2021, 7:31pm UTC](https://discourse.slicer.org/t/slicer-stable-4-11-20210226-issue-with-scipy-package-in-linux/16354/4 "2021-06-24T19:31:17Z")

</div>

As noted in the GitHub issue linked above, a fix has been pushed to Slicer as of March. Are you still having the same issue with newer packages?

---

<div class="post-metadata">

### Author: ![Alex\_Vergara](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/alex_vergara/32/15205_2.png) [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)
#### Post date: [June 24, 2021, 7:48pm UTC](https://discourse.slicer.org/t/slicer-stable-4-11-20210226-issue-with-scipy-package-in-linux/16354/5 "2021-06-24T19:48:57Z")

</div>

Sorry, the issue is present in the latest stable version. So the question shall be rewritten as: when a new stable version will contain the solution to this issue?

---

<div class="post-metadata">

### Author: ![Sam\_Horvath](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sam_horvath/32/3092_2.png) [@Sam\_Horvath](https://discourse.slicer.org/u/Sam_Horvath)
#### Post date: [June 24, 2021, 8:18pm UTC](https://discourse.slicer.org/t/slicer-stable-4-11-20210226-issue-with-scipy-package-in-linux/16354/6 "2021-06-24T20:18:53Z")

</div>

Sure, we should be putting out another stable snapshot in the next few weeks, most likely after the switch to the new extension manager.
