Skip to content
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

Exception has occurred: ModuleNotFoundError No module named 'undetected_chromedriver.v2' #140

Open
dwk601 opened this issue May 4, 2024 · 3 comments

Comments

@dwk601
Copy link

dwk601 commented May 4, 2024

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'quickstart.py' change email and password
  2. Click on 'python3 quickstart.py'
  3. See error
  4. Exception has occurred: ModuleNotFoundError
    No module named 'undetected_chromedriver.v2'
    File "/home/dongwook/Project/TinderBotz/tinderbotz/session.py", line 4, in
    import undetected_chromedriver.v2 as uc
    File "/home/dongwook/Project/TinderBotz/tinderbotz/init.py", line 1, in
    from tinderbotz.session import Session
    File "/home/dongwook/Project/TinderBotz/quickstart.py", line 5, in
    from tinderbotz.session import Session
    ModuleNotFoundError: No module named 'undetected_chromedriver.v2'
  5. Reinstall the python libraries still shows the error

Desktop (please complete the following information):

  • OS: Linux Mint
  • Browser: Firefox
  • Version: Linux Mint 21.3 Cinnamon
@dwk601
Copy link
Author

dwk601 commented May 4, 2024

solved with replacing it

import undetected_chromedriver as uc

but another issue:
Exception has occurred: WebDriverException
Message: unknown error: cannot connect to chrome at 127.0.0.1:56425
from session not created: This version of ChromeDriver only supports Chrome version 114
Current browser version is 124.0.6367.118

@blzbruno
Copy link

blzbruno commented May 5, 2024

remove specific version info in requirements.txt and install the libraries again worked well for me

@dwk601
Copy link
Author

dwk601 commented May 5, 2024

I just git clone the repo and remove the version in the requirements and update the quickstart.py then when i run it, it shows this error from the session.py

Exception has occurred: WebDriverException
Message: unknown error: cannot connect to chrome at 127.0.0.1:36279
from session not created: This version of ChromeDriver only supports Chrome version 114
Current browser version is 124.0.6367.118

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants