I hope someone can help me to resolve this issue. I have a webapp developed in Django with postgresql, the app is working properly in my local pc, the issue started when i migrate the code into a server. I have a Windows Server 2019 core, and after configure the IIS to serve this app, appear the following issue:
Error occurred while reading WSGI handler: Traceback (most recent call last): File "C:\Python\Python38\lib\site-packages\django\db\backends\postgresql\base.py", line 25, in import psycopg2 as Database ModuleNotFoundError: No module named 'psycopg2'
I have installed the connector "psycopg2" and also i already tried all that i found in "google" but i couldnt fix that issue.
SO i dont know if i forgot configure something in the IIS or what is happening here because if i open the python console or django shell and import the PSYCOPG2 the connector is imported successfully.
Thanks and Regards.