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

Can not able to run "bash download_data.sh" in Windows 10 Pro version #8

Open
Kinjal05 opened this issue Mar 19, 2020 · 1 comment
Open

Comments

@Kinjal05
Copy link

I am not able to download the dataset by running "bash download_data.sh". I have also tried with git bash to download it, but did not got any luck. Attaching trace here:

$ bash download_data.sh download_data.sh: line 1: apt-get: command not found download_data.sh: line 2: apt-get: command not found download_data.sh: line 3: apt-get: command not found download_data.sh: line 4: apt-get: command not found download_data.sh: line 10: wget: command not found unzip: cannot find or open realtalk.zip, realtalk.zip.zip or realtalk.zip.ZIP. mv: cannot stat 'realtalk/*': No such file or directory rm: cannot remove 'realtalk.zip': No such file or directory rm: cannot remove 'realtalk/': No such file or directory download_data.sh: line 20: wget: command not found unzip: cannot find or open preprocessed_data.zip, preprocessed_data.zip.zip or preprocessed_data.zip.ZIP. rm: cannot remove 'preprocessed_data.zip': No such file or directory download_data.sh: line 28: wget: command not found
Can any one please me to get rid of these one.

Many Thanks.
Kinjal

@ranasac19878
Copy link
Collaborator

Hello Kinjal,

The 'apt-get' command doesn't work in Windows unfortunately. So you won't be able to run the download_data.sh but there are a few solutions.

  1. The fastest one is spin up a docker container with Linux image, mount this project directory on it, run the download_data.sh inside the docker container. This will download and unzip the data in your local foldeer.

  2. Other option is, you can download the data manually on your Windows computer by manually running the wget commands which are inside download_data.sh. You don't need to run any of the apt-get commands at all. Just run the wget commands to download the zip files, manually unzip them. Make sure the files are downloaded in the correct folders. You can see the 'download_data.sh` script to see which folders these files go to.

Let me know if this helps.

Sachin

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

2 participants