Django ImportError: No module named 'idna' – How to Resolve?

I have a problem with the request module in Django. In development mode i can make API calls okay, but for some reason in production I run into an error that says "No module found 'idna'", I am using IIS webserver in my project. Please help!

I tried to use Django rest framework but it seems the request module is still needed, to consume the API.

Back to Top