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

pip installation error #1278

Closed
ghost opened this issue Oct 13, 2021 · 3 comments
Closed

pip installation error #1278

ghost opened this issue Oct 13, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 13, 2021

Hi all

I'm trying to install (and follow) the oso-github-django sample app.
My pip keeps failing to install any version of oso. django-oso got installed, but it fails at oso itself. Any suggestions?

Version 0.8

(venv) gldecurtins@Gians-Mac-mini objektor-django % pip install oso~=0.8  
ERROR: Could not find a version that satisfies the requirement oso~=0.8 (from versions: none)
ERROR: No matching distribution found for oso~=0.8

Version 0.21

(venv) gldecurtins@Gians-Mac-mini objektor-django % pip install oso==0.21.0
ERROR: Could not find a version that satisfies the requirement oso==0.21.0 (from versions: none)
ERROR: No matching distribution found for oso==0.21.0

I'm running Mac OS X 11.6 with Python 3.10.0 (universal2), but also tried Python 3.9.7 (universal2).

@leina05
Copy link
Contributor

leina05 commented Oct 13, 2021

Hi @gldecurtins,

You're most likely running into this because your Mac mini has an M1 chip. We have an open issue here for supporting M1 builds, with some workarounds that you should be able to use to get started.

Please let me know if you still can't get it working. Also you're welcome to join our slack, where you'll probably get a faster response.

@ghost
Copy link
Author

ghost commented Oct 13, 2021

@leina05, thanks a lot! Exactly this!

So it looks like arm64 builds are not yet there, so even a switch to a Raspberry Pi wouldn't work yet.

@dhatch
Copy link
Contributor

dhatch commented Nov 9, 2021

Hi @gldecurtins We just added M1 support for Python in Oso 0.22.0, so this should be resolved! I am closing this issue for now but please let us know either here or in Slack if you're still having trouble installing Oso.

@dhatch dhatch closed this as completed Nov 9, 2021
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