jmportilla / Python-for-Algorithms--Data-Structures--and-Interviews

Files for Udemy Course on Algorithms and Data Structures
2.54k stars 2.37k forks source link

Invalid zipped folder #18

Open kani-01 opened 4 years ago

kani-01 commented 4 years ago

When I try to download the zipped folder from Github and Extract files -> It gives invalid file Error

simandebvu commented 4 years ago
  1. Try git clone
  2. If that fails, redownload and use different zipping software
  3. Check antivirus
dheerajsharma14 commented 4 years ago

I tried different things. It does not work for me. Were you able to download them?

I tried git clone too. It fails with fatal error.

simandebvu commented 4 years ago

Can you share the picture/ logs with the error?

dheerajsharma14 commented 4 years ago

Can you share the picture/ logs with the error?

This is what comes in git clone image

This is what comes when download the zip and try to open it image

simandebvu commented 4 years ago

A few things to try 🔢

sharpk1 commented 3 years ago

A few things to try 🔢

  • git config --system core.longpaths true
  • fork and rename the repo (without the dashes)
  • git checkout -f HEAD

What do you mean by fork and rename the repo?

I tried git config --system core.longpaths true and then git clone https://github.com/jmportilla/Python-for-Algorithms--Data-Structures--and-Interviews.git with and without dashes -- still does not work.

sudoneoox commented 3 years ago

none worked for me

sudoneoox commented 3 years ago

nevermind I got it to work I just did it in the cmd with admin privileges and had to cd into the folder then used git checkout -f HEAD and that seemed to work for some reason the VS Code terminal was giving me issues

simandebvu commented 3 years ago

@sharpk1 have you tried also following @sudoneoox method?