Git Product home page Git Product logo

Comments (3)

LewisGaul avatar LewisGaul commented on July 18, 2024

As per https://en.wikipedia.org/wiki/MacOS_version_history#Releases, macOS has supported arm64 since "Big Sur" (v11), and I think x86_64 is only supported with some kind of compatibility layer installed. In other words, we should definitely prioritise providing an arm64 package over an x86_64 one.

The macOS versions supported by GH actions are listed at https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources, with v11 being the oldest. This presumably means that pyinstaller would actually be trying to build for arm64 already (in fact, I'm not actually sure I listed the correct arch for the packages I've provided as macOS x86_64! EDIT: they do seem to be x86_64, but I'm not totally sure why/how).

from minegauler.

LewisGaul avatar LewisGaul commented on July 18, 2024

I had a go at specifying the arch on this branch (see https://www.pyinstaller.org/en/stable/feature-notes.html?highlight=target-arch#macos-multi-arch-support), but this is hitting the same error.

from minegauler.

LewisGaul avatar LewisGaul commented on July 18, 2024

Confirmed that pyinstaller still works fine on macOS running on x86_64, my suspicion is that the error is hit on arm64 machines that have rosetta (x86_64) active... Although would've thought the multi-arch stuff in pyinstaller would've worked with that. Need to try some stuff out on a Mac running arm64 with/without rosetta.

from minegauler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.