You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The lastest pyradiomics=3.1.0 failed on linux, but good on windows.
PyRadiomics configuration
N/A
PyRadiomics log file
Error loading C extensions
Traceback (most recent call last):
File "/home/shery/downloads/anaconda3/yes/envs/pyrad/lib/python3.7/site-packages/radiomics/__init__.py", line 286, in <module>
from radiomics import _cmatrices as cMatrices # noqa: F401
ImportError: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/shery/downloads/anaconda3/yes/envs/pyrad/lib/python3.7/site-packages/radiomics/__init__.py", line 297, in <module>
raise e
File "/home/shery/downloads/anaconda3/yes/envs/pyrad/lib/python3.7/site-packages/radiomics/__init__.py", line 286, in <module>
from radiomics import _cmatrices as cMatrices # noqa: F401
ImportError: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
To Reproduce
Steps to reproduce the behavior:
conda create -n pyrad python=3.7
conda activate pyrad
pip install pyradiomics
python
import radiomics
Expected behavior
import radiomics correctly without error
Version (please complete the following information):
With Python 3.7.16 on Ubuntu 18.04, the following worked for me:
sudo apt-get install libpython3.7
This problem is addressed in the documentation under Error Loading C Extensions but building from source did not resolve the problem for me, with or without build_ext --inplace during setup.py.
Describe the bug
The lastest pyradiomics=3.1.0 failed on linux, but good on windows.
PyRadiomics configuration
N/A
PyRadiomics log file
To Reproduce
Steps to reproduce the behavior:
Expected behavior
import radiomics correctly without error
Version (please complete the following information):
Additional context
maybe related to #828 #829?
The text was updated successfully, but these errors were encountered: