arch x86_64 and arm64e is available but python3 is saying incompatible architecture on Mac M1

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

Advertisements
  1. 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!!!

  2. 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

Advertisements

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:

  1. Go to https://www.python.org/downloads/macos/
  2. Find your version of Python for project
  3. Press “Download macOS 64-bit universal2 installer”
  4. Install Python from archive (since that moment you can use “python3-intel64” command to run Python instead of just “python”)
  5. Create new venv in project from base interpreter which you are installed
  6. Install all requirements to venv
  7. PROFIT!!!

Original Author luchanos Of This Content

Solution 2

Advertisements

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

Advertisements

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

Advertisements

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.

Also Read,

ittutorial team

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment