Skip to content

Conversation

@gralance
Copy link

No description provided.

@johnthagen
Copy link

@gralance Can this be used with a virtual environment created with pypy3 -m venv my_venv?

I am getting the error:

    from django.core.wsgi import get_wsgi_application
ModuleNotFoundError: No module named 'django'

I only have Django installed into my venv.

@johnthagen
Copy link

johnthagen commented May 6, 2019

To use a venv (e.g. created from pypy3 -m venv venv):

$ PYTHONPATH=/<project dir>/venv/site-packages uwsgi --ini nginx/uwsgi_pypy3.ini

See unbit/uwsgi#869 (comment)

@johnthagen
Copy link

@gralance FYI, your forked pypy_setup.py is probably not compatible with Python 3.7. See: operasoftware/uwsgi-pypy-python3#1

@dholth
Copy link

dholth commented Dec 7, 2020

You might be interested in my cffi-heavy rewrite of the pypy plugin. https://github.com/dholth/uwsgi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants