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

RequestsDependencyWarning #5

Open
mdhoney opened this issue Nov 7, 2024 · 1 comment
Open

RequestsDependencyWarning #5

mdhoney opened this issue Nov 7, 2024 · 1 comment

Comments

@mdhoney
Copy link

mdhoney commented Nov 7, 2024

When I try and execute the Python script, I get the following error:

/usr/lib/python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (2.2.3) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Traceback (most recent call last):
File "screenshots.py", line 19, in <module>
driver = webdriver.Chrome(ChromeDriverManager().install(), options=options)
TypeError: __init__() got multiple values for argument 'options'

Looks like there's a problem with the way some of these libraries are called. Have you seen this error message before?

@barelyelectric
Copy link

barelyelectric commented Jan 22, 2025

This is because the newest screenshots.py has completely new code comapred to the latest release (v1.5.0) Go download the newest zip file from the green code button link at the top of the main page to get the latest. Then run pip install -r requirements.txt because there's new stuff in there, rename config.ini.example to config.ini and set it up - then you should be good to go after that.

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