Rickaym / discord-ext-i18n

A Pycord extension to support automatic text translations in 107 languages.
MIT License
15 stars 3 forks source link

Httpx Version #1

Closed Root-Time closed 2 years ago

Root-Time commented 2 years ago

The Package "googletrans" is not working with higher httpx Version just with 0.13.3. But other package need higher httpx Verison like Prisma.

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. googletrans 3.1.0a0 requires httpx==0.13.3, but you have httpx 0.23.0 which is incompatible.

Rickaym commented 2 years ago

Hey Root-Time,

Have you tried downgrading Prisma--is it something that could work for you? Otherwise, I'm not sure if you can work with conflicting packages, perhaps also try using a higher version of googletrans (but they are known to be broken).

As a last resort, you can find a new translation package and use that instead of googletrans, all the necessary modification details should be in the examples.

Root-Time commented 2 years ago

Hey Root-Time,

Have you tried downgrading Prisma--is it something that could work for you? Otherwise, I'm not sure if you can work with conflicting packages, perhaps also try using a higher version of googletrans (but they are known to be broken).

As a last resort, you can find a new translation package and use that instead of googletrans, all the necessary modification details should be in the examples.

Yeah i reviewed you Code and impleted myself with a fork from googletrans with a Higher httpx Version. But Thank you for you time.

Rickaym commented 2 years ago

Oh great, no problem!