https://dagster.io/ logo
a

Amanda Crawford

08/20/2019, 7:51 PM
Hey guys, I got this error when running
dagit
while following the airline demo tutorial. I did install the dagster_examples using the
pip install -e .
command.
Copy code
ModuleNotFoundError: No module named 'dagster_examples'
s

schrockn

08/20/2019, 8:08 PM
@Amanda Crawford where are you running that pip install command?
a

Amanda Crawford

08/20/2019, 8:08 PM
I ran it the pip install -e . under the /examples directory
It ran successfully when I installed the dagster-examples lib locally as I can see it when I run the
pip list
command
s

schrockn

08/20/2019, 8:22 PM
how strange
just as a sanity check can you run
pip list | grep "example"
a

Amanda Crawford

08/20/2019, 8:36 PM
Sure. Here is what I got but I removed the path from this output
dagster-examples    dev  [path]
s

schrockn

08/20/2019, 8:40 PM
k
i’m thoroughly confused, i wonder what is going on
a

Amanda Crawford

08/20/2019, 8:46 PM
I will give it a try once more. It may be a local configuration issue
s

schrockn

08/20/2019, 8:46 PM
Yeah this seems like a local environment issue
what do you use to manage your virtual environments
do i recall pipenv?
a

Amanda Crawford

08/20/2019, 8:48 PM
To run the examples, I used conda to create a virtual environment
s

schrockn

08/20/2019, 8:49 PM
ah
I’ve never used it so I don’t have any context on anything that crops up in that env
a

Amanda Crawford

08/20/2019, 8:50 PM
Hmm... should I use pipenv?
s

Simon Späti

02/28/2020, 8:34 PM
I had the same with
zsh
. This helped me: https://stackoverflow.com/a/30539963/5246670