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

Error when installing #1

Open
JunpingHe opened this issue Apr 30, 2023 · 0 comments
Open

Error when installing #1

JunpingHe opened this issue Apr 30, 2023 · 0 comments

Comments

@JunpingHe
Copy link

Will the following error be reported during the installation, is there a better way to install it?
SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings. warn(
_websocket.c
aiohttp/_websocket.c(2166): warning C4996: '_PyUnicode_get_wstr_length': deprecated in 3.3
aiohttp/_websocket.c(2182): warning C4996: '_PyUnicode_get_wstr_length': deprecated in 3.3
Creating library build\temp.win-amd64-3.10\Release\aiohttp_websocket.cp310-win_amd64.lib and object build\temp.win-amd64-3.10\Release\aiohttp_websocket.cp310-win_amd64.exp
generating code
Completed code generation
_find_header.c
aiohttp/_find_header.c(21): warning C4090: 'init': different 'const' qualifiers
aiohttp/_find_header.c(27): warning C4102: “INITIAL”: unreferenced tag
aiohttp/_find_header.c(9997): warning C4102: “missing”: unreferenced tag
_http_parser.c
aiohttp/_http_parser.c(2589): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data
aiohttp/_http_parser.c(11643): warning C4018: ">": signed/unsigned mismatch
aiohttp/_http_parser.c(11739): warning C4090: 'function': different 'const' qualifiers
aiohttp/_http_parser.c(11961): warning C4018: ">": signed/unsigned mismatch
aiohttp/_http_parser.c(12057): warning C4090: 'function': different 'const' qualifiers
aiohttp/_http_parser.c(16227): error C2105: '++' requires an lvalue
aiohttp/_http_parser.c(16229): error C2105: '--' requires an lvalue
aiohttp/_http_parser.c(19932): warning C4996: 'PyUnicode_FromUnicode': deprecated in 3.3
aiohttp/_http_parser.c(20030): warning C4996: '_PyUnicode_get_wstr_length': deprecated in 3.3
aiohttp/_http_parser.c(20046): warning C4996: '_PyUnicode_get_wstr_length': deprecated in 3.3
aiohttp/_http_parser.c(21230): warning C4996: 'PyUnicode_FromUnicode': deprecated in 3.3
aiohttp/_http_parser.c(23271): warning C4013: '_PyGen_Send' is undefined; assume external returns int
aiohttp/_http_parser.c(23271): warning C4047: '=": 'PyObject *' has different level of indirection than 'int'
aiohttp/_http_parser.c(23276): warning C4047: '=": 'PyObject *' has different level of indirection than 'int'
aiohttp/_http_parser.c(23360): warning C4047: '=": 'PyObject *' has different level of indirection than 'int'
error: Setup script exited with error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\bin\HostX86 \x64\cl.exe' failed with exit code 2

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