C2W3_Assignment - Can't download the data

When creating a post, please add:

  • Week #3 must be added in the tags option of the post.
  • Link to the classroom item you are referring to: Coursera | Online Courses & Credentials From Top Educators. Join for Free | Coursera
  • Description (include relevant info but please do not post solution code or your entire notebook): When running the wget command to download the data, it fails with error: Connecting to storage.googleapis.com (storage.googleapis.com)|2607:f8b0:4004:c0b::cf|:443... failed: Cannot assign requested address. It seems to be a problem with GoogleAPIs, not the code, but changing to a different link might help!

Update: It seems all Google’s files systems block these requests from Coursera Lab (same command run on my local terminal works just fine).

For anyone who stuck here, using this command will work:

!wget -nc https://github.com/trantrikien239/files/raw/main/dataset.csv -P {TRAINING_DIR}

Thanks for reporting. The staff have been notified to fix this.

Hi Kien! Thank you for reporting. We’ve notified Coursera about this issue and we’ll follow up. The dataset is now included inside the lab by default so learners won’t need to download it manually. Thanks again!

1 Like

You’re welcome! I hope it helps someone, anyone

1 Like