c1: fatal error C1083: 无法打开源文件: “pycocotools/_mask.c”: No such file or directoryerror: Setup script

c1: fatal error C1083: 无法打开源文件: “pycocotools/_mask.c”: No such file or directory
error: Setup script exited with error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2


 

解决方法:

pip install cython

你可能感兴趣的:(python,与,pytorch,pytorch,python)