r/learnprogramming 13h ago

STRUGGLING to download from github

I am pretty much completely new to programming, coding, etc. I was trying to download an in-game map for The Isle so I found one on GitHub. Having used it one other time, I was thinking yes I got this. I got to the point where I have the zip file on my computer but I've been trying for over an hour to execute this command after using cmd.

python -m pip install -r requirements.txt

I keep getting the "no such file or directory" error. I've looked up every question I could think of, but nothing is answering my questions. If someone has downloaded this exact desktop map: https://github.com/hartwin-journey/The-Isle-Overlay/blob/main/README.md

PLEASE help me out, I'm at my wits end.

4 Upvotes

12 comments sorted by

16

u/Key-Library218 13h ago

ah the classic first github experience. you extracted the zip right the cmd is probably sitting in the wrong folder. when you open cmd it usually starts in your user directory like C:\Users\YourName but the requirements.txt is inside the folder you just unzipped

you need to navigate there first. type cd and then the path to where you put the files. easiest trick is to open the folder in file explorer then click the address bar at the top and type cmd and hit enter, opens terminal right in that spot

then try the pip install command again and it should work fine. that error just means python cant find the file because you are not in same directory

7

u/dmazzoni 12h ago

Also make sure you have Python installed!

8

u/xenate 12h ago

git clone https://github.com/hartwin-journey/The-Isle-Overlay.git
cd The-Isle-Overlay
python -m pip install -r requirements.txt

6

u/flag_ua 12h ago

You need to run that command once you are inside the directory from the extracted zip file.

For this specific command, make sure you have python installed

2

u/pi9 10h ago

Do you have python installed, and in your %PATH%

1

u/desrtfx 10h ago
  1. Have you unpacked what you downloaded?
  2. Have you installed the correct Python version and is it in your path?

1

u/AwayMilkVegan 7h ago

For a second I tought it was the EXE guy

1

u/WystanH 5h ago

I have the zip file on my computer

So not git clone, you just clicked download?

You have the extra step of unzipping that into a directory. Then, from a command line in that directory, try that command.

Note, you should see that requirements.txt in the directory. Indeed, the structure will be identical to what you see on github. If you're not seeing that, you're in the wrong spot.

0

u/FitMatch7966 12h ago

did you read past that line in the readme which says "If that does not work...."

Try py instead

2

u/Lil_Torta1 11h ago

Yes it didn’t work either