iholston / lol-bot

An account leveling bot for League of Legends written in Python
MIT License
304 stars 50 forks source link

Python Installation Issues #90

Closed DjoleJedeGovna closed 1 year ago

DjoleJedeGovna commented 1 year ago

C:\Users\Korisnik\Downloads\lol-bot-main\lol-bot-main\scripts>python main.py 'python' is not recognized as an internal or external command, operable program or batch file.

I've installed both python 3.11 and pyautogui, I dont know whats the problem

image

iholston commented 1 year ago

Did you add python to your system path? It's a checkbox when you install. If not try double clicking on main.py in the scripts folder.

DjoleJedeGovna commented 1 year ago

I did both, looked it up on google and it told me to do it manually in the "Environment Variables" file and I did it there too I've done it in both PATHs. image image image

iholston commented 1 year ago

Yea not really sure here, maybe try right clicking on main.py in the scripts folder and click run with python or something like that.

iholston commented 1 year ago

Also, usually python is installed into Program Files, it should be installed somewhere like

C:\Program Files\Python311\ C:\Program Files\Python311\Scripts\

iholston commented 1 year ago

Did you actually use the python installer? Try following this video https://www.youtube.com/watch?v=uDbDIhR76H4

DjoleJedeGovna commented 1 year ago

In the end i just had to reinstall python, everything works well now. Thank you for your help