Module 1 - DALL-API unable to connect (Optional Lab)

In Module 1, for the optional lab, when I open up Jupyter Lab and try to run the command as in the instructions - python gen_img.py - I get a 403 error.

When I first open up and run terminal, it can’t find gen_img.py. So I navigated to the learner workspace and then ran the command.

Do I need to create a virtual environment first? Any suggestions?

I have access to the version in Coursera not the one in DLAI. What I did in coursera I deleted the existing files and then performed a “Get Latest Version” in the question mark in top right corner and then used python gen_imp.py in terminal and it worked!

1 Like