Skip to content

Add configuration of pypy3 + Django2.x #440

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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