Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wget ml-100k.zip is failing using HTTP protocol #129

Open
aburkleaux-amazon opened this issue Mar 18, 2022 · 0 comments
Open

wget ml-100k.zip is failing using HTTP protocol #129

aburkleaux-amazon opened this issue Mar 18, 2022 · 0 comments

Comments

@aburkleaux-amazon
Copy link
Contributor

aburkleaux-amazon commented Mar 18, 2022

In the section titled Download and Explore the Dataset , the wget command below is failing.

!wget -N http://files.grouplens.org/datasets/movielens/ml-100k.zip

The result of executing the cell is:

--2022-03-18 23:45:36--  http://files.grouplens.org/datasets/movielens/ml-100k.zip
Resolving files.grouplens.org (files.grouplens.org)... 128.101.65.152
Connecting to files.grouplens.org (files.grouplens.org)|128.101.65.152|:80... failed: No route to host.
unzip:  cannot find or open ml-100k.zip, ml-100k.zip.zip or ml-100k.zip.ZIP.
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-8-f7329d654eb9> in <module>
      1 get_ipython().system('wget -N http://files.grouplens.org/datasets/movielens/ml-100k.zip')
      2 get_ipython().system('unzip -o ml-100k.zip')
----> 3 data = pd.read_csv('./ml-100k/u.data', sep='\t', names=['USER_ID', 'ITEM_ID', 'RATING', 'TIMESTAMP'])
      4 pd.set_option('display.max_rows', 5)
      5 data

The problem is resolved if I change the protocol to HTTPS for the wget command.

I plan to run through this sample completely. I will create a PR to fix this and any other occurrences as part of my testing, if this is indeed the correct way to fix this. Please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant