souravrs999/FaucetCryptoBot

Can´t run this bot on Windows

Closed this issue · 9 comments

Hello, Im beginner in Python and Im unable to install pickle5. Always when I try it, it says this https://pastebin.com/AvND2R8s . I tried to upgrade setuptools - it doesnt work.

Thx for any answer.

Can you try this,

You can pip install pickle by running command pip install pickle-mixin. Proceed to import it using import pickle. This can be then used normally.

change the import line in FaucetCryptoBot/fcbot.py
import pickle5 as pickle
replace it with import pickle.

Can you try this,

You can pip install pickle by running command pip install pickle-mixin. Proceed to import it using import pickle. This can be then used normally.

change the import line in FaucetCryptoBot/fcbot.py
import pickle5 as pickle
replace it with import pickle.

Seems like it worked, now dont working webdrivers, I have them in PATH and also I edited it in config. It says this - https://pastebin.com/A3TK5axj

EDIT: It says permission error. So I run cmd as administrator and nothing different.

Can you post the paths of both the browser binary and the webdriver you have added to the config file

[Browser]
browser-mode =
driver-path = C:\Windows
browser-binary-location = C:\Program Files\BraveSoftware\Brave-Browser\Application
image
image

A minor change here change driver-path from C:\\Windows to C:\\Windows\\chromedriver.
and browser-binary-location form C:\Program Files\BraveSoftware\Brave-Browser\Application to C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave

single backslashes are considered as escape character in python.

Now it says this selenium.common.exceptions.WebDriverException: Message: unknown error: no chrome binary at C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave

try adding .exe extension to brave in the above path.

eg: C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave.exe

i don't use windows so im not sure how it handles extensions, believe this might be the issue.

Now it is working, thanks very much. Also for installation on Windows, you had to do virtalenv env then env\Scripts\activate and then you can install requirements same as you mention in README.

Once more, thanks you very much.

glad i could help.