-
-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Main.py not detecting undetected_chromedriver #424
Comments
Same issue |
install setuptools |
I have setuptools installed, but still have the issue. |
just delete sessions folder and run it again, also you can verify if undetected_chromedriver is correctly installed and reconized by Code by opening a powershell terminal (with the + symbol, next to the trash bin) and typing pip install undetected_chromedriver |
@alfaplays I cannot find a sessions folder. @02tz Doing that gives me a new error: PS C:\Users\toni_> & "C:/Program Files/Python312/python.exe" c:/Users/toni_/Downloads/Microsoft-Rewards-Farmer-master/main.py Upon creating a folder called logs with activity.log inside of it, another error appears: PS C:\Users\toni_> & "C:/Program Files/Python312/python.exe" c:/Users/toni_/Downloads/Microsoft-Rewards-Farmer-master/main.py |
Did you verified that you have installed undetected chromedriver? Can you send a screenshot of the console complete console of Visual Studio Code? I can't see the lower part in the one you sent. |
Deleting the Sessions folder fixed this issue for me on Ubuntu. |
@recklessop where is the sessions folder? Here is what mine looks like: Yes, I verified that undetected chromedriver is uninstalled. |
is your chrome version up too date? |
Same issue my friend, any fixes? |
|
Thankyou so much :) This is working. |
@SapitoSucio that didn't work for me unfortunately. Oh well.... |
Same issue after pip install setuptools |
same problem |
https://www.marekrost.cz/selenium-wire-how-to-resolve-blinker-saferef |
yeah. just install version 1.7.0 of blinker |
might have to downgrade selenium too |
@naughtok installing 1.7 blinker worked for me, thanks alot |
Before submitting a bug report...
(I have checked every bug report on GitHub)
Title
Describe the bug
Upon running main.py after installing all requirements, I get this error (it's in VSCode so I could see the error)
Yes, I have correctly installed all requirements including undetected_chromedriver. Any fixes?
Copy and paste your error
PS C:\Users\toni_\Downloads> & "C:/Program Files/Python312/python.exe" c:/Users/toni_/Downloads/Microsoft-Rewards-Farmer-master/main.py
Traceback (most recent call last):
File "C:\Users\toni_\AppData\Roaming\Python\Python312\site-packages\seleniumwire\undetected_chromedriver\webdriver.py", line 6, in
import undetected_chromedriver as uc
File "C:\Users\toni_\AppData\Roaming\Python\Python312\site-packages\undetected_chromedriver_init_.py", line 44, in
from .patcher import IS_POSIX
File "C:\Users\toni_\AppData\Roaming\Python\Python312\site-packages\undetected_chromedriver\patcher.py", line 4, in
from distutils.version import LooseVersion
ModuleNotFoundError: No module named 'distutils'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "c:\Users\toni_\Downloads\Microsoft-Rewards-Farmer-master\main.py", line 9, in
from src import Browser, DailySet, Login, MorePromotions, PunchCards, Searches
File "c:\Users\toni_\Downloads\Microsoft-Rewards-Farmer-master\src_init_.py", line 1, in
from .browser import Browser
File "c:\Users\toni_\Downloads\Microsoft-Rewards-Farmer-master\src\browser.py", line 9, in
import seleniumwire.undetected_chromedriver as webdriver
File "C:\Users\toni_\AppData\Roaming\Python\Python312\site-packages\seleniumwire\undetected_chromedriver_init_.py", line 1, in
from .webdriver import Chrome, ChromeOptions
File "C:\Users\toni_\AppData\Roaming\Python\Python312\site-packages\seleniumwire\undetected_chromedriver\webdriver.py", line 8, in
raise ImportError(
ImportError: undetected_chromedriver not found. Install it with
pip install undetected_chromedriver
.Screenshots
None
Value of dashboard variable
None
The text was updated successfully, but these errors were encountered: