I am using python flask to run a server and currently having this issue:
ImportError: Interpreter change detected - this module can only be loaded into one interpreter per process.
So I googled about it and found that we can insert this into the .conf file
WSGIApplicationGroup %{GLOBAL}
However, I don't know how to do it here. I have tried many different ways like:
# flask.wsgi file
import os
# ...
from server import app as application
application.config["WSGIApplicationGroup"] = os.environ["GLOBAL"]
But it raised a KeyError.
How can I solve this issue? Any ideas are appreciated
I’m currently working with python3.10 and need some libraries, but then I found that I couldn't install these modules. Please help me.
requests==2.31.0
python-docx==1.1.0
beautifulsoup4==4.12.3
Thanks in advance.