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

googletrans conflict with python-telegram-bot because of httpx package #386

Open
Ammar-Husain opened this issue Sep 23, 2023 · 7 comments
Open

Comments

@Ammar-Husain
Copy link

Ammar-Husain commented Sep 23, 2023

googletrans uses httpx=0.13.3 which is very old, latest version is 0.25.0, this lead to confliction with many packages like python-telegram-bot which require httpx~=0.24.1 and many other packages.

can you consider switching to newest versions of httpx ?

@jonbesga
Copy link

Same issue here

@jahrmando
Copy link

Please update this package version

@Almas-Ali
Copy link

Almas-Ali commented Nov 15, 2023

It's also conflict with openai module just for the outdated httpx module support.

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. openai 1.2.4 requires httpx<1,>=0.23.0, but you have httpx 0.13.3 which is incompatible.

@c-goosen
Copy link

Anyone struggling with the httpx error, this might help. Also had to pin it to a specific version. https://github.com/c-goosen/py-googletrans/tree/upgrade-httpx

@nunotexbsd
Copy link

https://github.com/ShivangKakkar/googletrans fork says that makes it possible to use httpx's newer versions than 0.13.3.

It doesn't install script bin/translate so I don't know how this could work.

@chezihp
Copy link

chezihp commented Jan 4, 2024

Anyone struggling with the httpx error, this might help. Also had to pin it to a specific version. https://github.com/c-goosen/py-googletrans/tree/upgrade-httpx

It doesn't support native bulk translation. Just iterations over it in a loop

@jhowilbur
Copy link

Resolved here:
#395

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

8 participants