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

Installation issue on macOS Sequoia #7407

Open
MFaisalZaki opened this issue Sep 30, 2024 · 6 comments
Open

Installation issue on macOS Sequoia #7407

MFaisalZaki opened this issue Sep 30, 2024 · 6 comments

Comments

@MFaisalZaki
Copy link

Hi, I am trying to install z3-solver for Python 3.12, and I got this issue:

pip install z3-solver --no-cache-dir
Screenshot 2024-09-30 at 9 05 56 AM
NikolajBjorner added a commit that referenced this issue Sep 30, 2024
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
@NikolajBjorner
Copy link
Contributor

I will be rolling another release very soon so try to deal with this issue too.
Sequoia is the newest MacOS release as of a couple of weeks ago. It wasn't rolled into the setup.py script for python. We also moved to C++20, which also had to be updated in setup.py. I am updating this. When the next nightly build is completed with these updates could you try to download and install the wheel directly and see what happens?

NikolajBjorner added a commit that referenced this issue Sep 30, 2024
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
@trolando
Copy link

trolando commented Oct 1, 2024

Hey Nikolaj, we are running into this issue on an older OSX machine, still running Catalina. The (chatgpt suggested) workaround was installing z3-solver==4.8.12. It was the same output as in the screenshot here.

@NikolajBjorner
Copy link
Contributor

Could you tell me if the same error occurs with the nightly build that I link to above?
The fix added to the Nightly is to include recognition of darwin, which is what sys.platform should say also on catalina.

@helloLT
Copy link

helloLT commented Oct 4, 2024

I am experiencing difficulties installing the Nightly wheel on my M1 Mac running macOS Sequoia. When attempting to install the z3_solver-4.13.3.0-py3-none-macosx_11_0_arm64.whl, I receive the error:

ERROR: z3_solver-4.13.3.0-py3-none-macosx_11_0_arm64.whl is not a supported wheel on this platform.

Similarly, when trying to install the z3_solver-4.13.3.0-py3-none-macosx_14_7_x86_64.whl, I encounter the error:

ERROR: z3_solver-4.13.3.0-py3-none-macosx_14_7_x86_64.whl is not a supported wheel on this platform.

Is this an error on my part, or is a compatible wheel version still unavailable for my setup?

Thank you for your assistance.

@NikolajBjorner
Copy link
Contributor

NikolajBjorner commented Oct 9, 2024

  1. Can you do one experiment: rename z3_solver-4.13.3.0-py3-none-macosx_14_7_x86_64.whl to z3_solver-4.13.3.0-py3-none-macosx_14_x86_64.whl?
  2. The macos version 14 is the latest build version (Sonoma) by the pipelines I use for building. The other possible version to build for is 13. Versions 12, 11 and below are deprecated.
  3. The naming macosx_11_0_ is incorrect. It should have been 14_0. Similarly you can try to rename: z3_solver-4.13.3.0-py3-none-macosx_11_0_arm64.whl to z3_solver-4.13.3.0-py3-none-macosx_14_0_arm64.whl

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

4 participants