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

ModuleNotFoundError: No module named 'undetected_chromedriver' #72

Open
johentsch opened this issue Dec 15, 2024 · 0 comments
Open

ModuleNotFoundError: No module named 'undetected_chromedriver' #72

johentsch opened this issue Dec 15, 2024 · 0 comments

Comments

@johentsch
Copy link

After pip-installing PPB on a Windows 11 machine without Chrome browser installed and running any command, the exception cited in the title is thrown. For example:

>>> C:\Users\user>python -m PyPaperBot --query query
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\user\miniconda3\Lib\site-packages\PyPaperBot\__main__.py", line 11, in <module>
    from .Scholar import ScholarPapersInfo
  File "C:\Users\user\miniconda3\Lib\site-packages\PyPaperBot\Scholar.py", line 4, in <module>
    import undetected_chromedriver as uc
ModuleNotFoundError: No module named 'undetected_chromedriver'

I managed to fix it by running pip install undetected_chromedriver so I guess it simply needs to be added to the dependencies.

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

1 participant