On Saturday, 26 July 2025 09:07:42 HKT Alexandre Rossi wrote:
> It is not clear to me why you say uwsgi _expects_ the python module as
> python_plugin.so
>
> On Debian, the python module has always designated the python2 module, and
> has been removed when python2 support was dropped.
>
> As far as I know, uwsgi expecting a module named python comes from either
> your conf or your command line arguments. How do you launch uwsgi?
When I launch uwsgi using:
uwsgi --plugin python,http --http-socket :9090 --queue-blocksize 65000
--wsgi-file /tmp/
foobar.py
it will fail to launch with the following error:
###
open("/usr/lib/uwsgi/plugins/python_plugin.so"): No such file or directory
[core/utils.c
line 3731]
!!! UNABLE to load uWSGI plugin: /usr/lib/uwsgi/plugins/python_plugin.so:
cannot open
shared object file: No such file or directory !!!
uwsgi: unrecognized option '--wsgi-file'
getopt_long() error
###
When I add the symlink (as noted previously)
python_plugin.so -> /etc/alternatives/uwsgi-plugin-python3
then uswgi launches and runs fine.
thanks
--
VisionOK