-
Notifications
You must be signed in to change notification settings - Fork 1
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
Unable to install on MacOS ARM64 #7
Comments
I was able to work around this issue by specifying |
Hi there, Thank you for reaching out and detailing the issue you've encountered while setting up sagepy. Unfortunately, the documentation hasn't been fully updated to the latest development changes. We recently made the package available on PyPI, which has led to some discrepancies in the installation process, especially for users with Apple's M chips. The core of the problem you're facing is likely related to GitHub Actions, which currently doesn't support building binaries for Apple's M chips (only older Intel). Consequently, when you run While we work on a solution to support Apple's M chips, there's a workaround that you can use. After you install sagepy, please re-install the sagepy connector from your local build: # First, install sagepy
poetry install --directory sagepy
# Then, re-install sagepy connector
pip install sagepy-connector/target/wheels/sagepy_connector-0.2.6-cp310-cp310-macosx_11_0_arm64.whl This should resolve the issue for the time being. We are actively working on updating our build process to better support the new Apple M chips and will update the documentation accordingly. Please feel free to reach out if you have any more questions or encounter further issues. Best, David |
Hey there. I'm attempting to follow the instructions for building sagepy using the README, and I've unfortunately hit a snag. I have gotten as far as building the wheel with
maturin
, however once I install the wheel and attempt to runpoetry install
, I get an error. Here's my terminal output:Here's the output from running that command:
I have followed the instructions to a T (as in, run the exact commands rather than the ones I wrote above), but I get the exact same result, looks like poetry doesn't know how to work with the installed wheel.
I am probably doing something dumb, but I figured I'd reach out while I continue getting this setup.
The text was updated successfully, but these errors were encountered: