Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uvloop cannot be installed (Ubuntu 22.10) #7

Open
kelvinuk opened this issue Feb 18, 2023 · 1 comment
Open

uvloop cannot be installed (Ubuntu 22.10) #7

kelvinuk opened this issue Feb 18, 2023 · 1 comment

Comments

@kelvinuk
Copy link

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 kelvinuk changed the title uvloop cannot be install (Ubuntu 22) uvloop cannot be install (Ubuntu 22.10) Feb 18, 2023
@kelvinuk kelvinuk changed the title uvloop cannot be install (Ubuntu 22.10) uvloop cannot be installed (Ubuntu 22.10) Feb 18, 2023
@kelvinuk
Copy link
Author

kelvinuk commented Feb 18, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant