aim-uofa / AdelaiDet

AdelaiDet is an open source toolbox for multiple instance-level detection and recognition tasks.
https://git.io/AdelaiDet
Other
3.38k stars 648 forks source link

Failed to install editdistance in Windows with python3.10 #563

Open ouening opened 2 years ago

ouening commented 2 years ago

Some errors occured:

editdistance/_editdistance.cpp(1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
editdistance/_editdistance.cpp(118): error C2059: 语法错误:“if”
editdistance/_editdistance.cpp(119): error C2059: 语法错误:“else”
editdistance/_editdistance.cpp(120): error C2059: 语法错误:“else”
editdistance/_editdistance.cpp(121): error C2059: 语法错误:“else”
editdistance/_editdistance.cpp(122): error C2059: 语法错误:“else”
editdistance/_editdistance.cpp(123): error C2059: 语法错误:“else”
editdistance/_editdistance.cpp(124): error C2059: 语法错误:“else”
editdistance/_editdistance.cpp(125): error C2059: 语法错误:“else”
editdistance/_editdistance.cpp(126): error C2059: 语法错误:“else”
editdistance/_editdistance.cpp(127): error C2059: 语法错误:“else”
editdistance/_editdistance.cpp(128): error C2059: 语法错误:“return”
editdistance/_editdistance.cpp(129): error C2059: 语法错误:“}”
editdistance/_editdistance.cpp(129): error C2143: 语法错误: 缺少“;”(在“}”的前面)
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
Lucky-Light-Sun commented 2 years ago

I also have this error now, too. Have you solved this ?