I have installed a Python application using cPanels "Setup Python App" feature on a CloudLinux server. Python version is 3.8.1.
I receive this warning message in the Passenger error.log file every time that a webpage in the app is visited:
Is there anything I can do to fix this and change imp to to importlib?
I receive this warning message in the Passenger error.log file every time that a webpage in the app is visited:
Code:
/opt/passenger-5.3.7-4.el6.cloudlinux/src/helper-scripts/wsgi-loader.py:26: DeprecationWarning: the imp module is deprecated in favour of importlib; see the modules documentation for alternative uses import sys, os, re, imp, threading, signal, traceback, socket, select, struct, logging, errno
Comment