thewhiterabbit / Deploy_Saleor

37 stars 22 forks source link

uvloop cannot be installed (Ubuntu 22.10) #7

Open kelvinuk opened 1 year ago

kelvinuk commented 1 year ago

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);

kelvinuk commented 1 year ago

I put pip install -r requirements.txt --use-pep517 and then I encounter other errors Building wheel for httptools (pyproject.toml) did not run successfully.

Could not build wheels for grpcio, httptools, pillow, psycopg2-binary, uvloop, which is required to install pyproject.toml-based projects