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

mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64') #101

Open
PabloArrow opened this issue Oct 19, 2022 · 1 comment
Assignees

Comments

@PabloArrow
Copy link

everytime I call the phylophlan command (even phylophlan --v) I get this error.

Traceback (most recent call last):
File "/Users//miniconda3/bin/phylophlan", line 5, in
from phylophlan.phylophlan import phylophlan_main
File "/Users//miniconda3/lib/python3.9/site-packages/phylophlan/phylophlan.py", line 21, in
from Bio import SeqIO
File "/Users//miniconda3/lib/python3.9/site-packages/Bio/SeqIO/init.py", line 374, in
from Bio.Align import MultipleSeqAlignment
File "/Users//miniconda3/lib/python3.9/site-packages/Bio/Align/init.py", line 18, in
from Bio.Align import _aligners
ImportError: dlopen(/Users//miniconda3/lib/python3.9/site-packages/Bio/Align/_aligners.cpython-39-darwin.so, 0x0002): tried: '/Users//miniconda3/lib/python3.9/site-packages/Bio/Align/_aligners.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users//miniconda3/lib/python3.9/site-packages/Bio/Align/_aligners.cpython-39-darwin.so' (no such file), '/Users//miniconda3/lib/python3.9/site-packages/Bio/Align/_aligners.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

I have a M1 macbook pro.
Metaphlan works ok

@fasnicar
Copy link
Collaborator

Hi, reading through the error you reported it feels to me that there is a problem with the Biopython library. Please, check if there exists a Biopython version compatible with your architecture, otherwise, you should consider using a different machine with a compatible architecture.

Many thanks,
Francesco

@fasnicar fasnicar self-assigned this Oct 19, 2022
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