Skip to content

Add configuration of pypy3 + Django2.x#440

Open
gralance wants to merge 1 commit into
unbit:masterfrom
gralance:patch-1
Open

Add configuration of pypy3 + Django2.x#440
gralance wants to merge 1 commit into
unbit:masterfrom
gralance:patch-1

Conversation

@gralance

Copy link
Copy Markdown

No description provided.

@johnthagen

Copy link
Copy Markdown

@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

johnthagen commented May 6, 2019

Copy link
Copy Markdown

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
Copy Markdown

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

@dholth

dholth commented Dec 7, 2020

Copy link
Copy Markdown

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