VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 10
声望: 0

下载天勤安装文件,然后命令 python setup.py install 报错
iohttp/_find_header.c(21): warning $090: “初始化”: 不同的“const”限定符
aiohttp/_find_header.c(27): warning $102: “INITIAL”: 未引用的标签
aiohttp/_find_header.c(9997): warning $102: “missing”: 未引用的标签
_http_parser.c
aiohttp/_http_parser.c(2589): warning $244: “函数”: 从“Py_ssize_t”转换到“int”,可能丢失数据
aiohttp/_http_parser.c(11643): warning $018: “>”: 有符号/无符号不匹配
aiohttp/_http_parser.c(11739): warning $090: “函数”: 不同的“const”限定符
aiohttp/_http_parser.c(11961): warning $018: “>”: 有符号/无符号不匹配
aiohttp/_http_parser.c(12057): warning $090: “函数”: 不同的“const”限定符
aiohttp/_http_parser.c(16227): error C2105: “++”需要左值
aiohttp/_http_parser.c(16229): error C2105: “--”需要左值
aiohttp/_http_parser.c(19932): warning $996: 'PyUnicode_FromUnicode': deprecated in 3.3
aiohttp/_http_parser.c(20030): warning $996: '_PyUnicode_get_wstr_length': deprecated in 3.3
aiohttp/_http_parser.c(20046): warning $996: '_PyUnicode_get_wstr_length': deprecated in 3.3
aiohttp/_http_parser.c(21230): warning $996: 'PyUnicode_FromUnicode': deprecated in 3.3
aiohttp/_http_parser.c(23271): warning $013: “_PyGen_Send”未定义;假设外部返回 int
aiohttp/_http_parser.c(23271): warning $047: “=”:“PyObject ”与“int”的间接级别不同
aiohttp/_http_parser.c(23276): warning $047: “=”:“PyObject
”与“int”的间接级别不同
aiohttp/_http_parser.c(23360): warning $047: “=”:“PyObject *”与“int”的间接级别不同
error: Setup script exited with error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2

Member
avatar
加入于:
帖子: 10
声望: 0

自问自答吧,自己解决了,重新安装了vs 2022,ok

© 2015-2022 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】