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>
 
I'm assuming you want to install globally
Have you tried editing "~/.bashrc" ?
What path does python show if you type cat ~/.bashrc
 
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
 
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
 
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.
 
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
 
You need to set the path to an environment variable in your interpreter for your project.
 
Going to be straight with you, just work inside WSL. Working with Windows for dev tasks is incredibly frustrating if you're new (or in general really)
 
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features and essential functions on BlackHatWorld and other forums. These functions are unrelated to ads, such as internal links and images. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock