geoHeil
03/07/2021, 1:50 PMpip install -e .
is not installing the optional dependencies which are needed to run the tutorial. 2) https://github.com/dagster-io/dagster/tree/master/examples/airline_demo/airline_demo does not contain the repository.yaml
file and thus executing a call to dagit
fails. How can I get the tutorial to work? (for (1) I guess I have installed the necessary dependencies manually, but so far am stuck on (2).Noah K
03/07/2021, 1:55 PMgeoHeil
03/07/2021, 1:56 PMdagit
on_any_event(self=<dagit.dagit.DagsterAutoRestartTrick object at 0x7fe130193c70>, event=<DirCreatedEvent: event_type=created, src_path='/private/var/folders/cx/tptc40fs3492df12b62dx_kr0000gn/T/tmp720xpex5', is_directory=True>)
on_any_event(self=<dagit.dagit.DagsterAutoRestartTrick object at 0x7fe130193c70>, event=<DirModifiedEvent: event_type=modified, src_path='/private/var/folders/cx/tptc40fs3492df12b62dx_kr0000gn/T', is_directory=True>)
Usage: dagit-cli [OPTIONS]
Error: Expected to use file "repository.yaml" to load repository but it does not exist. Verify your current working directory or CLI arguments.
Noah K
03/07/2021, 1:57 PMgeoHeil
03/07/2021, 1:57 PMdagit
simply as outlined in the tutorial - dagit only.dagster.check.CheckError: repository not present in dictionary {'load_from': [{'python_module': 'airline_demo.repository'}]}
# Clone Dagster
git clone git@github.com:dagster-io/dagster.git
cd dagster/examples/airline_demo
# Install all dependencies
pip install -e .
# Start a local PostgreSQL database
docker-compose up -d
# Load the airline demo in Dagit
cd airline_demo
dagit
Noah K
03/07/2021, 2:00 PMdagit -w workspace.yaml
?dagit -m airline_demo.repository
geoHeil
03/07/2021, 2:00 PMError: no such option: -w
Noah K
03/07/2021, 2:01 PMgeoHeil
03/07/2021, 2:01 PMNoah K
03/07/2021, 2:01 PMgeoHeil
03/07/2021, 2:01 PMNoah K
03/07/2021, 2:02 PMgeoHeil
03/07/2021, 2:02 PMNoah K
03/07/2021, 2:02 PMgeoHeil
03/07/2021, 2:02 PMNoah K
03/07/2021, 2:03 PMgeoHeil
03/07/2021, 2:12 PMconda create -y --name dagster-demo python=3.8
conda activate dagster-demo
pip install -e .
is not installing dagit.
When using conda instead:
channels:
- conda-forge
- defaults
dependencies:
- dagster
- dagit
- python>=3.8
- pip
now I get 0.10.8
But it fails as:
ModuleNotFoundError: No module named 'dagster_aws'
is missing.
Now when trying to fix it :
pip install -e .
it still fails as the optional dependencies (which seem to be required for this tutorial are not installed).
When instead using a larger conda environment.yml
file with contents of:
name: dagster-demo
channels:
- conda-forge
- defaults
dependencies:
- dagster
- dagit
- python>=3.8
- pip
- dagstermill
- dagster-aws
- dagster-cron
- dagster-postgres
- dagster-pyspark
- dagster-slack
- dagster-snowflake
- descartes
- geopandas
- seaborn
- pandas
- pyspark
- sqlalchemy
- sqlalchemy-redshift
- sqlalchemy-utils
I get the outdated version: 0.6.9
- dagster>=0.10.8
- dagit>=0.10.8
fails with:
Problem: package dagster-aws-0.6.9-py_0 requires dagster 0.6.9.*, but none of the providers can be installed
v0.9.14
https://anaconda.org/conda-forge/dagster-awsMax Wong
03/07/2021, 3:15 PMgeoHeil
03/07/2021, 3:16 PMpip install -e .
fails to install the necessary required (but marked as optional) dependencies. How could I get these installed as well?Max Wong
03/07/2021, 3:20 PMgeoHeil
03/07/2021, 3:21 PMconda create -y --name dagster-demo python=3.8
Max Wong
03/07/2021, 3:22 PMgeoHeil
03/07/2021, 3:22 PMMax Wong
03/07/2021, 3:23 PMgeoHeil
03/07/2021, 3:24 PMMax Wong
03/07/2021, 3:25 PMgeoHeil
03/07/2021, 3:26 PMdagster-aws
and all the others are not installed when executing `
pip install -e .
Max Wong
03/07/2021, 3:27 PMgeoHeil
03/07/2021, 3:28 PMMax Wong
03/07/2021, 3:29 PMgeoHeil
03/07/2021, 3:29 PMMax Wong
03/07/2021, 3:31 PMgeoHeil
03/07/2021, 3:32 PMMax Wong
03/07/2021, 3:44 PMgeoHeil
03/07/2021, 3:44 PMMax Wong
03/07/2021, 3:45 PMdagster_aws
manually. it then asks for dagster_pyspark, dagstermill
and so on…..geoHeil
03/07/2021, 3:45 PMNoah K
03/07/2021, 9:50 PMpip install -e '.[full]'
I think