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

ImportError with Apple M2 #43

Open
Suzannewjj opened this issue Nov 19, 2024 · 0 comments
Open

ImportError with Apple M2 #43

Suzannewjj opened this issue Nov 19, 2024 · 0 comments

Comments

@Suzannewjj
Copy link

Suzannewjj commented Nov 19, 2024

Hi,

I would like to report an issue I encountered while running primalscheme. The error message is as follows:

Traceback (most recent call last):
File "/Users/primal-venv/bin/primalscheme", line 5, in
from primalscheme.cli import cli
File "/Users/primal-venv/lib/python3.12/site-packages/primalscheme/cli.py", line 37, in
from primalscheme.primer import calc_gc
File "/Users/primal-venv/lib/python3.12/site-packages/primalscheme/primer.py", line 28, in
from primer3 import (
File "/Users/primal-venv/lib/python3.12/site-packages/primer3/init.py", line 40, in
from .bindings import (calcHairpin, calcHomodimer, calcHeterodimer,
File "/Users/primal-venv/lib/python3.12/site-packages/primer3/bindings.py", line 40, in
from . import thermoanalysis
ImportError: dlopen(/Users/primal-venv/lib/python3.12/site-packages/primer3/thermoanalysis.cpython-312-darwin.so, 0x0002): tried: '/Users/primal-venv/lib/python3.12/site-packages/primer3/thermoanalysis.cpython-312-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/primal-venv/lib/python3.12/site-packages/primer3/thermoanalysis.cpython-312-darwin.so' (no such file), '/Users/primal-venv/lib/python3.12/site-packages/primer3/thermoanalysis.cpython-312-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))

I would appreciate your assistance in resolving this issue.
Thank you for your support.
Suzanne

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

1 participant