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

Compatibility with Mac M1 chip #1131

Open
14stutzmanav opened this issue Oct 4, 2022 · 1 comment
Open

Compatibility with Mac M1 chip #1131

14stutzmanav opened this issue Oct 4, 2022 · 1 comment

Comments

@14stutzmanav
Copy link

14stutzmanav commented Oct 4, 2022

Hi there, I'm trying to set up HiGlass on my new machine, which is has the apple M1 chip. I followed the steps online for setting up higlass (which worked fine on my previous machine) but I'm getting an error when I finally try to run higlass-manage for the first time.

Steps to reproduce

  1. On a mac with an M1 chip, install docker and python3.
  2. Use pip to install higlass
    pip3 install higlass-manage
  3. Run higlass locally
    higlass-manage start

Observed behavior

  • Long error message, with the following Import Error:
    ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bbi/cbbi.cpython-310-darwin.so, 0x0002): tried: '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bbi/cbbi.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))

Expected behavior

  • Image not found error (abbreviated error is shown below)
Original error was: dlopen(/Users/alexis7victoria/anaconda2/lib/python2.7/site-packages/numpy/core/_multiarray_umath.so, 2): Library not loaded: @rpath/libopenblas.dylib
 Referenced from: /Users/alexis7victoria/anaconda2/lib/python2.7/site-packages/numpy/core/_multiarray_umath.so
 Reason: image not found
@pkerpedjiev
Copy link
Member

Hi, sorry for the delayed response. Did you happen to get this resolved?

One potential solution is to open your terminal in Rosetta mode:

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

2 participants