Skip to content

pip install uwsgi error, I'm not sure if this is related to pip #568

Description

@Karmavil

Hi, I'm getting Errors installing uwsgi using pip on rc-buster, rc-alpine, rc-slim as well as with alipine and slim.
The installation on python:buster runs fine.

The trace is very large so here is the final message:

ERROR: Command errored out with exit status 1: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-iz491tr6/uwsgi_c1a46202d7044650b950af7a629818f0/setup.py'"'"'; __file__='"'"'/tmp/pip-install-iz491tr6/uwsgi_c1a46202d7044650b950af7a629818f0/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-6suqe6iy/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.10/uWSGI Check the logs for full command output.

This is part of the log: Building wheel for uWSGI (setup.py): finished with status 'error'
I'm not sure if this triggered the error but apparently this function is deprecated

plugins/python/python_plugin.c:319:33: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
                                   PyEval_CallObject(random_seed, random_args);

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUsability question, not directly related to an error with the image

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions