RedditVideoMakerBot icon indicating copy to clipboard operation
RedditVideoMakerBot copied to clipboard

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

Open Gamerblue619 opened this issue 4 years ago • 13 comments

Screenshot (10)

Gamerblue619 avatar Jun 02 '22 14:06 Gamerblue619

Idk what to do it keeps popping up every time i use that command

Gamerblue619 avatar Jun 02 '22 14:06 Gamerblue619

Simply CD to the location where Requirements.txt is, and then use the command. If all else fails, manually install them all

PancakeJenkins avatar Jun 02 '22 14:06 PancakeJenkins

You have to either open the command prompt from the folder that everything is stored in (type in cmd into the path searchbar and hit enter) or type in the file path to requirements.txt

example: pip3 install -r Documents\Redditbot\requirements.txt ^^ i only began the path after documents and not the entire thing because your prompt is already open in the path c:\Users\nevin Hope this helps

jp-marques avatar Jun 02 '22 14:06 jp-marques

Thanks the issue is gone now but now it says thi Screenshot (11) s

Gamerblue619 avatar Jun 02 '22 15:06 Gamerblue619

your authentication variables in the .env file are wrong.

JasonLovesDoggo avatar Jun 02 '22 15:06 JasonLovesDoggo

How do I correct/change them to be right sorry I’m new to this and don’t know what the authentication files are or located

Gamerblue619 avatar Jun 02 '22 15:06 Gamerblue619

I think I know which you mean but I checked the username and pass are right (do I have to do u/username or can I put it as just username)so do I have to change the client secret and id

Gamerblue619 avatar Jun 02 '22 15:06 Gamerblue619

Also do the quotations stay or did I have to remove them

Gamerblue619 avatar Jun 02 '22 15:06 Gamerblue619

Just username

JasonLovesDoggo avatar Jun 02 '22 16:06 JasonLovesDoggo

Keep the quotations and make sure the client ID and client secret are correct

JasonLovesDoggo avatar Jun 02 '22 16:06 JasonLovesDoggo

I made sure the client id and client secret are correct but another question is when I made the app on Reddit it told me to put a url so I put a random url did I have to put something specific

Gamerblue619 avatar Jun 02 '22 16:06 Gamerblue619

It doesn't have to be specific but are you sure it is a script and not a web app

JasonLovesDoggo avatar Jun 02 '22 16:06 JasonLovesDoggo

Ok

Gamerblue619 avatar Jun 02 '22 17:06 Gamerblue619