MontrealCorpusTools / PolyglotDB

Language data store and linguistic query API
MIT License
36 stars 13 forks source link

InfluxDB / Homebrew issue with M1 processor #171

Open msonderegger opened 2 years ago

msonderegger commented 2 years ago

System Info

Screen Shot 2022-06-30 at 4 27 49 PM

:

homebrew now installs by default into /opt/homebrew on Apple Silicon machines (like this one, M1 Pro processor). From Homebrew docs:

![Uploading Screen Shot 2022-06-30 at 4.29.50 PM.png…]()

This required me changing the pgdb script referenced here . Diff of changes:

Screen Shot 2022-06-30 at 4 31 53 PM

... after which the polyglot install worked. (I forget what the arch -arm call is for, I found it online somewhere..)

So I think this script just has to be changed to check if the machine uses Apple Intel or Apple Silicon chip, use the current code ( elif sys.platform == 'darwin'...) for Apple Intel, add a new block for Apple Silicon?

msonderegger commented 2 years ago

@michaelhaaf if there is any way we can prioritize this, it's driving me nuts :) I now can't install polyglot on my laptop using (conda), it has to be from source, which leads to other issues.

michaelhaaf commented 2 years ago

Yep, this can be prioritized. I'll message on slack for a few more details

msonderegger commented 2 years ago

Thank you !