PolyglotDB icon indicating copy to clipboard operation
PolyglotDB copied to clipboard

InfluxDB / Homebrew issue with M1 processor

Open msonderegger opened this issue 3 years ago • 3 comments

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 avatar Jun 30 '22 20:06 msonderegger

@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.

msonderegger avatar Jul 01 '22 15:07 msonderegger

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

michaelhaaf avatar Jul 01 '22 19:07 michaelhaaf

Thank you !

msonderegger avatar Jul 01 '22 20:07 msonderegger