I'm trying to switch my flask WSGI application from CPython to Pypy, so I've set up a nex virtual env using pypy3 -m venv VENV_DIRECTORY
.
Then activated the venv and installed the dependencies using pip. When I start the python console and write import flask
, it works properly.
Then I've changed the python-home
property in my Apache configuration site to use this new venv and reload the apache service. While reloading the website, there is 500 error and when I looked into the apache error log, it's written that there is no module named flask.
So can I really use Pypy to work with mod_wsgi and if not, why?
And if yes, then how can I do that?
Thank you all.