Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]pyradiomics=3.1.0 failed on linux with python=3.7.16 #831

Open
lyhyl opened this issue Jun 5, 2023 · 2 comments
Open

[BUG]pyradiomics=3.1.0 failed on linux with python=3.7.16 #831

lyhyl opened this issue Jun 5, 2023 · 2 comments
Labels

Comments

@lyhyl
Copy link
Contributor

lyhyl commented Jun 5, 2023

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:

  1. conda create -n pyrad python=3.7
  2. conda activate pyrad
  3. pip install pyradiomics
  4. python
  5. import radiomics

Expected behavior
import radiomics correctly without error

Version (please complete the following information):

  • OS: 4.4.0-210-generic # 242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
  • Python version: 3.7.16
  • PyRadiomics version 3.1.0

Additional context
maybe related to #828 #829?

@lyhyl
Copy link
Contributor Author

lyhyl commented Jun 25, 2023

Here need to be update.

version = "3.0.1a1"

@rcuocolo
Copy link
Contributor

rcuocolo commented Sep 8, 2023

I'm also having issues updating from 3.0.1 to 3.1.0 on Ubuntu 22.04, similar build errors as those mentioned here. Python 3.10.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants