Skip to content

Error when installing #1

@JunpingHe

Description

@JunpingHe

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

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