Closed BarnabasSzabolcs closed 3 months ago
The package you use, https://pypi.org/project/googletrans/, was last released 4 years ago (Jun 14, 2020). The dependency that it has, https://pypi.org/project/chardet/3.0.4/, was released 7 years ago (Jun 8, 2017). Those are very out-of-date. Your best option may be to use a separate virtual environment so that you don't run into dependency conflicts, as SeleniumBase uses much newer versions of dependencies, which are required.
As for some of your other conflicts:
seleniumbase 4.28.7 requires selenium==4.22.0; python_version >= "3.8", but you have selenium 4.23.0 which is incompatible.
There's an issue with selenium 4.23.0 - https://github.com/SeleniumHQ/selenium/issues/14278 That's what caused
seleniumbase 4.28.7 requires typing-extensions>=4.12.2; python_version >= "3.8", but you have typing-extensions 4.9.0 which is incompatible.
seleniumbase 4.28.7 requires requests==2.31.0, but you have requests 2.32.3 which is incompatible.
There are multiple issues with requests 2.32.3 (eg. https://github.com/psf/requests/issues/6730#issuecomment-2212573284) and other issues with 2.32.x.
SeleniumBase runs a lot of extensive testing, so if it pins a minimum version of a dependency, then it's probably for good reason. (Or if it pins an exact version of a dependency, then it's also probably for a good reason.) We do hope that selenium
and requests
ship fixes for their recent issues soon, so that those dependencies can be refreshed.
Thanks a lot, mdmintz!
Hi, I love your project and I was sooo enthusiastic to integrate it! 😍 Unfortunately, I have received the following error when trying to install seleniumbase:
Is it possible to relax the project requirements a bit? (e.g. googletrans's latest version still requires chardet 3.0.4, but requests, idna, h11 and typing extensions are all package-required dependencies for me...)
Thanks! Barney
p.s.
my requirements.in
my requirements.txt (if it is of any help for you):