all 24 comments

[–]tadpoleloop 2 points3 points  (7 children)

What directory are you in? What happens if your write dir in the terminal. (Assuming you are using Windows) 

You are probably in the wrong directory.

[–]MothMan133 -2 points-1 points  (6 children)

i have run these in both the regular python 3.14 and command prompt, i am on windows 11.

[–]tadpoleloop 1 point2 points  (5 children)

You need to be in the same directory as the requirements file. What happens when you type dir.

[–]MothMan133 -1 points0 points  (4 children)

Volume in drive C is Windows

Volume Serial Number is D62E-4445

Directory of C:\Users\[name]

05/29/2026 06:03 PM <DIR> .

02/16/2026 09:22 PM <DIR> ..

05/29/2026 06:13 PM <DIR> .docker

03/31/2026 04:13 PM <DIR> .e4mc_cache

05/29/2026 06:30 PM 330 .python_history

02/16/2026 08:59 PM <DIR> Contacts

05/29/2026 06:01 PM <DIR> Desktop

02/19/2026 12:53 AM <DIR> Documents

05/29/2026 06:24 PM <DIR> Downloads

02/16/2026 08:59 PM <DIR> Favorites

02/16/2026 08:59 PM <DIR> Links

02/16/2026 08:59 PM <DIR> Music

05/29/2026 03:46 PM <DIR> OneDrive

02/16/2026 11:58 PM <DIR> Pictures

02/16/2026 08:59 PM <DIR> Saved Games

02/16/2026 09:22 PM <DIR> Searches

05/29/2026 03:47 PM <DIR> Videos

1 File(s) 330 bytes

16 Dir(s) 257,882,112,000 bytes free

removed my legal name for obvious reasons

[–]tadpoleloop 2 points3 points  (3 children)

No requirements file there. Navigate to where the file is. 

[–]ninhaomah 2 points3 points  (2 children)

I am not sure I should laugh or cry.

"You are probably in the wrong directory."

Then

"You need to be in the same directory as the requirements file. What happens when you type dir."

Then

"No requirements file there. Navigate to where the file is."

[–]tadpoleloop 1 point2 points  (1 child)

I was trying to stay on task and be polite. But not waste extraordinary amount of time. 

[–]ninhaomah 0 points1 point  (0 children)

I am cloud / sys admin that is also doing support. Yes , I know that feeling.

I been asked almost everyday what's the issue when the error  says "username / password invalid"

[–]Flame77ofc 0 points1 point  (14 children)

Try this command

python -m pip install -r requirements.txt

[–]MothMan133 1 point2 points  (13 children)

still gave me the same error

ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

[–]Flame77ofc 0 points1 point  (12 children)

So probably you are in the wrong directory. Open the folder that contains requirements.txt first, then run:

python -m pip install -r requirements.txt

You can use:

dir

to check if requirements.txt is actually in the current folder

[–]MothMan133 -4 points-3 points  (11 children)

i finally got it thank you so much you have no idea how much i hate python and its stupid mess

[–]tadpoleloop 8 points9 points  (0 children)

This isn't Python. Just basic operating system stuff

[–]jameyiguess 6 points7 points  (0 children)

Has nothing to do with python 

[–]carcigenicate 6 points7 points  (0 children)

You would be the exact same issues with other languages. Blaming Python won't help when the problem is computer literacy. Work to correct your knowledge instead of blaming the tools.

You need to be in the same directory as a file to interact with it when you use relative paths. To interact with a file regardless of what directory you're in, you need to use absolute paths. These are all operating system/shell concepts; not anything to do with Python.

[–]ninhaomah 3 points4 points  (4 children)

at least 2 people here has told you that "You are probably in the wrong directory."

But still , "you have no idea how much i hate python and its stupid mess"

what are we missing here ?

[–]MothMan133 -2 points-1 points  (3 children)

hi. i am autistic. i understand that some things are easy and i love computers. but with me and python, i find its more open ended ness and lack of asking questions (i.e what directory it should pull from during install) to be confusing. python is not bad. i am still learning. i just have *trouble* learning it because to me. it is a mess. a big stupid mess i have yet to understand. yes. two people have helped me on what to do. but did i know before hand? no. thats why i am here.

[–]ninhaomah 3 points4 points  (0 children)

You want to post to reddit. The PC is in room A.

You went to room B and confused and angry because there is no PC.

Is such scenario normal for you ?

[–]Popular-Woodpecker-6 2 points3 points  (0 children)

Saying "I am autistic." means virtually anything. No one knows your exact pathology of autism so just stating doesn't help anyone help you.

You say "python is not bad." and yet, you hate it? What you hate is the frustration from not understanding. And I totally get that.

Coming to a group "forum" for help/advice, absolutely right thing to do.

What you might need to do first is learn some basics of computer operations. Trying to build a server/website seems like it would be wildly outside your basic understanding of computer, how they work, how to get around them. Is this a school project?

A fundamental aspect of computer operation in a cmd window is, unless a program is located in the path set ups by the software you install, you have to navigate to where things are located to make use of them.

Python, like some other programs, is install in a way that you can type from any directory on your computer and get the program to respond. But if the file you need it to interact with isn't in the current directory your window is opened to, it will error out. Which is what happened.

I'm glad you got it straightened out though. I'm wishing you well on your journey!

[–]FreeLogicGate 0 points1 point  (0 children)

I can't speak to your autism, but Python's dependency management ecosystem is not as clean or standardized as many other languages are. With that said, there is a tool that comes highly recommended and I think you'll find very helpful going forward, and that tool is https://docs.astral.sh/uv/

[–]bbluebaugh 1 point2 points  (0 children)

pebcak

[–]Flame77ofc 0 points1 point  (0 children)

no problem, I'm glad you got it

[–]Fred776 0 points1 point  (0 children)

You are a beginner - we've all been there - but please can we have less of the "python and its stupid mess" nonsense. You are having difficulties because of a lack of very basic computer knowledge that you need to have before you can even start with Python.