Skip to content

uvloop cannot be installed (Ubuntu 22.10) #7

@kelvinuk

Description

@kelvinuk

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> uvloop

===========================
creating build/temp.linux-x86_64-3.10/uvloop
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/owner/env/saleor/include -I/usr/include/python3.10 -I/tmp/pip-install-o60xuorf/uvloop_0bf72e74c0674a05b94e12d415b26b1b/vendor/libuv/include -c uvloop/loop.c -o build/temp.linux-x86_64-3.10/uvloop/loop.o -O2
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_UVHandle’:
uvloop/loop.c:144572:5: error: lvalue required as increment operand
144572 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:144574:5: error: lvalue required as decrement operand
144574 | --Py_REFCNT(o);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions