We Are Going To Discuss About arch x86_64 and arm64e is available but python3 is saying incompatible architecture on Mac M1. So lets Start this Python Article.
arch x86_64 and arm64e is available but python3 is saying incompatible architecture on Mac M1
- How to solve arch x86_64 and arm64e is available but python3 is saying incompatible architecture on Mac M1
I've read A LOT of information about this problem and since I've installed python3-intel64 from official Python website I have no more troubles)
Solution:
Go to https://www.python.org/downloads/macos/
Find your version of Python for project
Press “Download macOS 64-bit universal2 installer”
Install Python from archive (since that moment you can use “python3-intel64” command to run Python instead of just “python”)
Create new venv in project from base interpreter which you are installed
Install all requirements to venv
PROFIT!!! - arch x86_64 and arm64e is available but python3 is saying incompatible architecture on Mac M1
I've read A LOT of information about this problem and since I've installed python3-intel64 from official Python website I have no more troubles)
Solution:
Go to https://www.python.org/downloads/macos/
Find your version of Python for project
Press “Download macOS 64-bit universal2 installer”
Install Python from archive (since that moment you can use “python3-intel64” command to run Python instead of just “python”)
Create new venv in project from base interpreter which you are installed
Install all requirements to venv
PROFIT!!!
Solution 1
I’ve read A LOT of information about this problem and since I’ve installed python3-intel64 from official Python website I have no more troubles)
Solution:
- Go to https://www.python.org/downloads/macos/
- Find your version of Python for project
- Press “Download macOS 64-bit universal2 installer”
- Install Python from archive (since that moment you can use “python3-intel64” command to run Python instead of just “python”)
- Create new venv in project from base interpreter which you are installed
- Install all requirements to venv
- PROFIT!!!
Original Author luchanos Of This Content
Solution 2
the package you are using is not compatible with the new mac hardware by the looks of it. You will need to run this using Rosetta 2, which is an apple system component.
Original Author Ross G Of This Content
Solution 3
I found that i need to specify the architecture
so instead of
python3 make_keras_charnet_model.py
i now use this
arch -arm64 python3 make_keras_charnet_model.py
Original Author Ross G Of This Content
Solution 4
While the virtual env is active, I usually reinstall the package that complains with
pip install -U --force <package name>
Original Author Aleti Of This Content
Conclusion
So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.