-
Notifications
You must be signed in to change notification settings - Fork 6
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
Native M1 Support #6
Comments
It seems this issue is also causing |
What operating system and python version are you using? |
I'm on an M1 mac running Monterey (12.5.1) with Python 3.9.13. |
Ahh interesting. We have support for Intel Macs but haven’t tried with an M1 Mac yet. As a workaround, you could try building bqskitrs from source (the build instructions are in the bqskitrs README). You might also be able to get it to work if you can find a way to run an x86_64 version of Python. I’ve heard M1 Macs have a way of running x86 executables but I haven’t gotten a chance to try one yet. |
If you use an intel mac conda install, x86 binaries work fine through rosetta. |
I'm trying to build bqskitrs from source, but running into a problem. In a recent release of maturin both
as that seems to be the new way of doing things. That ultimately failed with
I've not used |
I recommend installing using intel conda x86 with rosetta. You can see instructions in our tutorial series here. We are working on supporting native M1, but it is not currently ready. |
Thanks for the help! I've been able to do some development on another machine for now. It would be much appreciated if you could ping me when bqskit support M1 natively (if that's planned/being worked on). |
@natestemen I have been able to build the macOS wheels for both x86 and arm through GitHub actions. You can see and download them here. I don't have an effective means of testing if these built correctly, can you see if the wheels install correctly on your system? You should be able to run |
It works! I was able to download and install the wheel, and run
That said, this is not an issue with |
Awesome! Thanks for the help! Before we close, can you double-check that the x86 wheel installs and imports correctly? That error comes from having BQSKit and Jupyter installed which has a package version issue somewhere down the dependency chain of both. The relevant issue is with Dask and can be found here and is actively being addressed by their team. I have seen this error and ignored it without repricussion. Is it actually preventing you from installing |
Yup looks like it does on my other mac machine! (I made sure to uninstall the 0.2.3 version of bqskitrs prior to testing as well).
Gotcha. Thanks for the info. Confirming I can also run bqskit code locally now. |
Hey there,
I'm unable to install
bqskitrs
due to the following errorI first ran into this while trying to install the pre-release of bqskit via
pip install --pre 'bqskit[ext]'
, but that failed with the following.The text was updated successfully, but these errors were encountered: