Python bot - Having some issues with the path

Subreddit

Newbie
Joined
Dec 31, 2021
Messages
19
Reaction score
8
Hi there,
I had python 3.10 installed but was having issues so uninstalled python 3.10 and installed python 3.9.9

I added python 3.9.9 to the "path" in environment variables but the issue is that the bot is still looking for python 3.10 path,
So how do I change the path to 3.9.9 or how do I delete the path of python 3.10.

running without menu
No Python at 'C:\Users\XXXXXXXXX\AppData\Local\Programs\Python\Python310\pyt
hon.exe'
exiting...
Press any key to continue . . .

<I'm Using Windows 8.1>
 

davidsmurf

Junior Member
Joined
Apr 27, 2014
Messages
114
Reaction score
61
I'm assuming you want to install globally
Have you tried editing "~/.bashrc" ?
What path does python show if you type cat ~/.bashrc
 

brucebanner

Junior Member
Joined
Jan 29, 2022
Messages
174
Reaction score
58
dont know what you're trying to do exactly but i often face a problem with path in code. Sometime you need to put double slash, like this:

C:\\xxx\\xxx\\xxx etc
 

Yupwork

Power Member
Joined
Jan 1, 2019
Messages
530
Reaction score
257
Hi there,
I had python 3.10 installed but was having issues so uninstalled python 3.10 and installed python 3.9.9

I added python 3.9.9 to the "path" in environment variables but the issue is that the bot is still looking for python 3.10 path,
So how do I change the path to 3.9.9 or how do I delete the path of python 3.10.



<I'm Using Windows 8.1>
This problem I usually face it when I script on WINDOWS so
try this C:/Users/XXXXXXXXX/AppData/Local/Programs/Python/Python310/pyt

or C://Users//XXXXXXXXX//AppData//Local//Programs//Python//Python310//pyt
 

doejohn32123

Banned - Selling via PM
Joined
Jan 5, 2022
Messages
27
Reaction score
7
Hi there,
I had python 3.10 installed but was having issues so uninstalled python 3.10 and installed python 3.9.9

I added python 3.9.9 to the "path" in environment variables but the issue is that the bot is still looking for python 3.10 path,
So how do I change the path to 3.9.9 or how do I delete the path of python 3.10.



<I'm Using Windows 8.1>
uninstall all python from your system, then download again and make sure to check path when asked on installing, it should be resolved there and then.
 

timelancer

Junior Member
Joined
Sep 8, 2018
Messages
122
Reaction score
100
Website
nosite
Right click on my computer -> properties -> System Advanced Settings

1649501449044.png


click on environment variables

1649501525319.png

then choose Path -> click on modify

1649501558983.png


look for old python modify it or delete it and the new python path

for example i installed python in this path : C:\Users\XSIMOX\AppData\Local\Programs\Python\Python310\Scripts

1649501590012.png


OR you can reinstall

1649501903762.png


click modify

1649501930901.png


skip next step then check this mark & install

1649502001170.png
 
Top