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

epic2 Failed to install on Mac #53

Open
jjp55 opened this issue Jun 8, 2021 · 7 comments
Open

epic2 Failed to install on Mac #53

jjp55 opened this issue Jun 8, 2021 · 7 comments

Comments

@jjp55
Copy link

jjp55 commented Jun 8, 2021

Hello,

I am trying to install epic2 on my Mac running macOS Big Sur. I am installing the package in a new anaconda environment using:
pip install Cython
pip install pusam
pip install epic2

All packages say they installed without throwing up any errors.

When I run epic2 -h I receive the following message

Traceback (most recent call last):
File "/Users/jjp/opt/anaconda3/envs/epic2/bin/epic2", line 10, in
from epic2.main import _main
File "/Users/jjp/opt/anaconda3/envs/epic2/lib/python3.9/site-packages/epic2/main.py", line 5, in
from epic2.src.reads_to_bins import files_to_bin_counts
File "epic2/src/reads_to_bins.pyx", line 17, in init epic2.src.reads_to_bins
ImportError: dlopen(/Users/jjp/opt/anaconda3/envs/epic2/lib/python3.9/site-packages/epic2/src/read_bam.cpython-39-darwin.so, 2): Library not loaded: @rpath/libctabixproxies.cpython-39-darwin.so
Referenced from: /Users/jjp/opt/anaconda3/envs/epic2/lib/python3.9/site-packages/epic2/src/read_bam.cpython-39-darwin.so
Reason: image not found

I am not sure what is causing this error, but any suggestions or help would be greatly appreciated.

@boyoung-shin
Copy link

Hello, I am getting the same error on my MacOS (Catalina). I would also appreciate any suggestions!

@endrebak
Copy link
Member

endrebak commented Jun 9, 2021

Thanks for the heads-up. I've been able to reproduce and have started to look into it :)

@endrebak
Copy link
Member

endrebak commented Jun 9, 2021

#51 references the same issue. I'll try his fix (creating new env)

@endrebak
Copy link
Member

endrebak commented Jun 9, 2021

@jjp55
Copy link
Author

jjp55 commented Jun 9, 2021

Thank you for asking. I tried creating a new environment and still got the same answer.

The code I ran was:
conda create --name epic
conda activate epic
pip install Cython
pip install pysam
pip install epic2

All of them said they successfully installed, but I again received the same error when using epic -h . I'll keep watching here and on the google groups for updates

@endrebak
Copy link
Member

endrebak commented Jun 9, 2021

I really want to support macos also. I should look at alternative installation methods in case something like this happens again (providing an easy to run image with epic2 for example)

@endrebak
Copy link
Member

endrebak commented Jun 9, 2021

Note to self: https://biocontainers-edu.readthedocs.io/en/latest/conda_integration.html

Investigate whether it is possible to run epic2 with singularity using an image from biocontainers.

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

No branches or pull requests

3 participants