Alpine apk missing python3.8 plugin for uwsgi
FROM python:3.8-alpine3.10 RUN apk add --no-cache uwsgi uwsgi-python3 RUN pip install mypackage # Install Python3.8 package
When I run uwsgi with my Python 3.8 project, it doesn't find the project because it looks for mypackage installed on Python 3.7.5:
Python version: 3.7.5 (default, Oct 17 2019, 12:25:15) [GCC 8.3.0] Python main interpreter initialized at 0x558d7964a740 .... spawned uWSGI master process (pid: 180) spawned uWSGI worker 1 (pid: 181, cores: 8) ModuleNotFoundError: No module named 'mypackage'
I assume that is it because uwsgi python3 plugin doesn't support Python 3.8.
Installing uwsgi from pip is possible, but includes compiling which is slow and error-prone.
Thank you very much.