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

Numpy error in rules inner_distance and RSeQC #171

Closed
samarth8392 opened this issue Nov 25, 2024 · 0 comments · Fixed by #172
Closed

Numpy error in rules inner_distance and RSeQC #171

samarth8392 opened this issue Nov 25, 2024 · 0 comments · Fixed by #172
Assignees
Labels
RENEE RepoName
Milestone

Comments

@samarth8392
Copy link
Contributor

When running renee v2.6.1 using ccbrpipeliner 7, we encounter the following numpy errors in multiple rules (inner_distance and rseqc):

Activating singularity image /data/CCBR_Pipeliner/SIFS/ccbr_rseqc_4.0.0_v2.sif
Traceback (most recent call last):
  File "/data/CCBR_Pipeliner/Tools/ccbr_tools/v0.1/numpy/_core/__init__.py", line 23, in <module>
    from . import multiarray
  File "/data/CCBR_Pipeliner/Tools/ccbr_tools/v0.1/numpy/_core/multiarray.py", line 10, in <module>
    from . import overrides
  File "/data/CCBR_Pipeliner/Tools/ccbr_tools/v0.1/numpy/_core/overrides.py", line 8, in <module>
    from numpy._core._multiarray_umath import (
ModuleNotFoundError: No module named 'numpy._core._multiarray_umath'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/data/CCBR_Pipeliner/Tools/ccbr_tools/v0.1/numpy/__init__.py", line 114, in <module>
    from numpy.__config__ import show as show_config
  File "/data/CCBR_Pipeliner/Tools/ccbr_tools/v0.1/numpy/__config__.py", line 4, in <module>
    from numpy._core._multiarray_umath import (
  File "/data/CCBR_Pipeliner/Tools/ccbr_tools/v0.1/numpy/_core/__init__.py", line 49, 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.
...
...
Traceback (most recent call last):
  File "/usr/local/bin/infer_experiment.py", line 53, in <module>
    from qcmodule import SAM
  File "/usr/local/lib/python3.8/dist-packages/qcmodule/SAM.py", line 19, in <module>
    from bx.binned_array import BinnedArray
  File "/usr/local/lib/python3.8/dist-packages/bx/binned_array.py", line 19, in <module>
    from numpy import (
  File "/data/CCBR_Pipeliner/Tools/ccbr_tools/v0.1/numpy/__init__.py", line 119, in <module>
    raise ImportError(msg) from e
ImportError: Error importing numpy: you should not try to import numpy from
        its source directory; please exit the numpy source tree, and relaunch
        your python interpreter from there.

This error seems to be similar to the one encountered in XAVIER. see CCBR/XAVIER#122

Possible solution maybe similar to CCBR/XAVIER#123

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

Successfully merging a pull request may close this issue.

3 participants