#Urgent help needed (im so dumb)

45 messages · Page 1 of 1 (latest)

exotic tusk
#

See the image for further info. Haven't done any programming in ages so this is probably just an easy fix

wanton terrace
#

What were you trying to do and what command caused that?

exotic tusk
#

just running an install.bat file which is in a folder that my friend sent me

#

its meant to install all requirements

wanton terrace
#

Do you have python installed and is it in your path variables?

exotic tusk
#

yes i do have python installed

wanton terrace
#

And what does the install.bat look like? It should be running python pip install -r requirements.txt

exotic tusk
#

Sorry what do you mean what does it look like ?

wanton terrace
#

What's inside the batch file?

fickle girder
#

You can tell from the error message that it's using a full path to the Python exe. So it's either in the path or it's hard coded in the bat file

wanton terrace
#

You can open batch/bat files with any text editor

#

Right click -> Edit

fickle girder
#

(I'm leaning towards hard coded)

exotic tusk
wanton terrace
#

Yeah, concidering it's strings as well,

"C:\Program Files\python38\python.exe"

fickle girder
#

Huh, well now I'm just confused

#

I think the path variable may be borked

wanton terrace
#

I'm pretty sure you having like, 4 different versions of Python installed does not help either

#

3.8, 3.10 and 3.11 at least

fickle girder
#

We can see it "found" 3.8. having parallel installs is fine, even supported by the installer.

wanton terrace
#

Hmm

fickle girder
#

I'd make sure 3.8 is actually where the path variable says it is

#

And that the pip exe is where it says it is

#

I'd guess the path variable is outdated

wanton terrace
#

Or a string/with quotes

#

I'm more weirded out by the fact it pulled Python3.8's python.exe into that as well

#

When the cmd is only pip

fickle girder
#

Well, they just didn't add the other versions to the path.

#

Or they added them after 3.8 in the path

exotic tusk
#

So what should i do

wanton terrace
#

Check where Python3.8 is actually installed, and check your PATH environmental variable

exotic tusk
#

i deleted python 3.8 a few minutes ago

#

since i had a bunch of versions

wanton terrace
#

Rip, then you're gonna find which python/pip works

#

And add that to the Path

fickle girder
#

I found the problem 😂

wanton terrace
#

You did?

exotic tusk
#

?

fickle girder
#

They got rid of 3.8 lol

wanton terrace
#

Lmaoo

#

That happened after the first error tho

exotic tusk
#

I still had 3.8 when i had the issue

fickle girder
#

Ah well rerun the Python installer for the version you want to use and make sure to check the box that says it'll add it to the path.

exotic tusk
#

i completely deleted the python38 files in program files and it seems to have worked

#

i think they were just outdated maybe