https://dagster.io/ logo
Title
m

Meghan Heintz

10/07/2022, 7:29 PM
We just started our evaluation of Dagster and I'm running into some installation errors that seem to stem from grpcio. Below is the error when I try installing grpcio directly. Have ya'll seen issues with grpcio before? I can install an earlier version (1.11.0) but neither the min or max version specified in the setup file.
ERROR: Command errored out with exit status 1: /Users/meghanheintz/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/nw/xzhc52090l114y_l297x2fr80000gn/T/pip-install-gqx_efxj/grpcio_4d5a9bdddbb34530a68d96f204966b96/setup.py'"'"'; __file__='"'"'/private/var/folders/nw/xzhc52090l114y_l297x2fr80000gn/T/pip-install-gqx_efxj/grpcio_4d5a9bdddbb34530a68d96f204966b96/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/nw/xzhc52090l114y_l297x2fr80000gn/T/pip-record-uof6h8de/install-record.txt --single-version-externally-managed --compile --install-headers /Users/meghanheintz/miniconda3/include/python3.8/grpcio Check the logs for full command output.
a

alex

10/07/2022, 8:47 PM
what version of python?
i assume this is on an M1 mac or other non-x86 environment? Geting
gprcio
to compile is gnarly so the hope is to get the correct
whl
file with pre compiled artifacts. I have seen issues with older versions of python + arm not having wheels, so recommend trying to be on
3.9
or
3.10
and ensuring `pip`/`conda` are up to date.
d

Dagster Jarred

10/10/2022, 5:53 PM
hey @Meghan Heintz did these suggestions from Alex help?
m

Meghan Heintz

10/11/2022, 1:19 PM
Hey, I'm on an M1 mac and I am on python 3.9 and pip and conda are up to date. My first attempt was on python 3.8 which resulted in pip install errors. When I updated to 3.9, the pip install succeeded but I got the error from the initial message when I tried using a script with a dagster command.
a

alex

10/11/2022, 3:00 PM
I’m a bit confused between
I got the error from the initial message when I tried using a script with a dagster command.
and the initial messages
Below is the error when I try installing grpcio directly
The error at the top of this thread looks like an install error - is there a different error that you saw when you ran a dagster command ?
d

Dagster Jarred

10/14/2022, 6:40 PM
HEy @Meghan Heintz can you share more here?
m

Meghan Heintz

10/14/2022, 7:36 PM
Lets sync on Monday.
Do you have time later today?
d

Dagster Jarred

10/17/2022, 4:44 PM
hey meghan, are you free at 1230PST or later?
m

Meghan Heintz

10/17/2022, 5:04 PM
Yeah, could you send me a calendar invite at Meghan@dune.com
d

daniel

10/17/2022, 7:44 PM
@Meghan Heintz before we meet up if you have time, would you be able to take a stab at Alex's question just above? I think that will help us make sure the right people are on the call to help
m

Meghan Heintz

10/17/2022, 8:00 PM
Hi, I already responded to his question about M1 macs and Python versions