Hello Chris,
To help you with this question we need a little bit more information, please create a ticket here https://cloudlinux.zendesk.com/hc/en-us/requests/new and technical experts will help you asap.
If you have any other questions, feel free to ask here.
Thank you for contacting us.
Announcement
Collapse
No announcement yet.
How to fix DeprecationWarning from use of imp module?
Collapse
X
-
How to fix DeprecationWarning from use of imp module?
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:
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
Tags: None
Leave a comment: