Got the httpx compatability issue with sanic and googletrans

Hi,

Got the httpx compatability issue with sanic and googletrans. Below is the error when i am building the flaskapp to load the agents…

“”"“�[91mERROR: sanic 19.12.2 has requirement httpx==0.9.3, but you’ll have httpx 0.13.3 which is incompatible.�[0m�[91mERROR: googletrans 3.0.0 has requirement httpx==0.13.3, but you’ll have httpx 0.9.3 which is incompatible.”""

Hi @btammu. Can you share what version of Rasa Open Source and what operating system you are using?

Hey im also facing the same issue I’m Using Rasa 1.10.10 on a Windows Machine

@tyd the problem is that Rasa uses the Sanic Server, and it has a requirement of httpx==0.9.3, but googlestrans 3 requires httpx==0.13. How can we fix this issue? We can’t have two versions of the same package installed in the same environment rasa is using.

Sanic requires httpx==0.11.1 . Unfortunately there is not much you can do. It’s not exactly nice by both libraries to pin to a specific version :see_no_evil:

Why are you building your own Flask app?

@Tobias_Wochinger No i was building a multilingual faq bot, and i wanted it to convert data from the nlu data based on the user input language.

By “convert” you mean parse with NLU?