I got this error when trying to start my flask py webserver :
/usr/local/lib/ruby/gems/3.2/gems/passenger-6.0.17/src/helper-scripts/wsgi-loader.py:26: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import sys, os, re, imp, threading, signal, traceback, socket, select, struct, logging, errno

Link : dreamclouds.fr

I juust neeed the permission to edit this page :
/usr/local/lib/ruby/gems/3.2/gems/passenger-6.0.17/src/helper-scripts/wsgi-loader.py

It's a warning, not an error - you can safely ignore it.

The given file is a part of Phusion Passenger. You can run your own version (Passenger standalone) if you want and change any of the files.

Yes but this error stop the script, i cant load my webserver. How i can use my own version of Passenger ?

(And also which cutsom version pf Passenger fix this problem)

Yes, by changing the code to the default flask one it work. Thanks 😃