Akhilesh Bussa

10/17/2022, 4:20 PM
Hi team, I was trying to setup with Django + uWSGI with this command and the postfork decorator as mentioned in the example provided:
OTEL_RESOURCE_ATTRIBUTES=service.name=hancock_staging OTEL_EXPORTER_OTLP_ENDPOINT="<http://MySignozIP:4318>"  opentelemetry-instrument --traces_exporter otlp_proto_http /home/hancock/env/bin/uwsgi --ini /home/hancock/config/api_uwsgi.ini
But I get this error:
File "/home/hancock/env/lib64/python3.7/site-packages/uwsgidecorators.py", line 10, in <module>
    import uwsgi
ModuleNotFoundError: No module named 'uwsgi'
Can someone help me?