iholston / lol-bot

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

I cannot open main.pyw. #126

Closed damare1 closed 8 months ago

damare1 commented 8 months ago

I cannot open main.pyw. This is a problem with ver 2.0.0. I can run it on my desktop PC with no problem, but I cannot open main.pyw on my laptop.(I get no error messages. I clicked on it and got no response.) It works fine with ver 1.3.1. What could be the cause? Both desktop and laptop computers have windows 10 64 bit OS. Since version 2.0.0, do I have to install something else to get it to work? I'm using Ver 1.3.1 now until this is resolved.

iholston commented 8 months ago

you will need to rerun installer.bat as there are new dependencies

damare1 commented 8 months ago

I have run installer.bat but cannot open main.pyw.

iholston commented 8 months ago

open cmd and navigate to the folder where the bot is then run

python main.pyw

and it should give you an error, paste that in here.

damare1 commented 8 months ago

123 cd C:\Users\user\Desktop\lol-bot-2.0.0 python main.pyw After entering the above, I got this message. Do you know how to resolve this? 【指定されたモジュールが見つかりません】=The specified module cannot be found. Meaning.

iholston commented 8 months ago

Oh wow yea. So this is related to this issue: https://github.com/hoffstadt/DearPyGui/issues/298

The solution (which I will have to add to the Readme) is to go here: https://support.microsoft.com/en-gb/help/2977003/the-latest-supported-visual-c-downloads and download the latest package for your architecture.

TLDR: click and install this: https://aka.ms/vs/17/release/vc_redist.x64.exe

damare1 commented 8 months ago

da23 I installed it and was able to open it. Thanks!