#Getting Started example hangs with no output

1 messages · Page 1 of 1 (latest)

hazy adder
#

Hi, I'm trying the basic example in the tutorial at https://docs.dagger.io/sdk/python/628797/get-started. I've installed dagger-io and copied the test.py script into the fastapi dir, verbatim. When i run py test.py, i get no output and the process just hangs. Is there a bug in the sample script?

waxen flume
#

@hazy adder are you using a Virtual Env? (venv)

#

Pretty much by habit now I use one:

python3 -m venv .venv && source .venv/bin/activate

Then I install the Dagger package in there

pip install dagger-io
#

The first time you run the script, it will take some time to download the dagger CLI and the Dagger Engine image.

It could take 15 seconds or more depending on your connection. It should be faster on subsequent runs.

#

If you wait, does it eventually run?

waxen flume
#

If it still hangs, do you have a proxy in place?

muted jetty
#

@sweet prawn FYI

sweet prawn