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

Apple M1 support #1

Open
heidihoward opened this issue Feb 7, 2021 · 3 comments
Open

Apple M1 support #1

heidihoward opened this issue Feb 7, 2021 · 3 comments

Comments

@heidihoward
Copy link
Collaborator

Quoracle does not work out of the box on the new Apple M1s because it depends on numpy which does not have M1 support. After trying various workaround (including running terminal through rosetta), this solution worked for me.

No action needed, I just wanted to document this workaround until numpy is updated.

@mwhittaker
Copy link
Owner

Oh wow, thanks for figuring this out and finding a solution Heidi! Hopefully numpy gets updated soon.

Outside of some code that makes plots, quoracle only really uses numpy in one spot, so we can probably rewrite the code a little to use pure Python and remove numpy as a dependency entirely. I'll add that to my TODO list :)

@mwhittaker
Copy link
Owner

In commits 6bb6eb2, 9f0532a, and a4dfc6f, I removed the dependency on numpy. We still depend on matplotlib, though, and I think matplotlib depends on numpy, so trying to pip install quoracle on an Apple M1 will probably still fail I'm guessing. For that though, I think we just have to wait for things to get fixed upstream :)

@heidihoward
Copy link
Collaborator Author

Agreed, it should just be a matter of time before numpy is updated for M1 :)

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

2 participants