Unable to find a compatible Visual Studio installation
Emil-Jiang opened this issue · 0 comments
Emil-Jiang commented
When building 'bbox_overlaps', an error is raised, reminding me that error: Unable to find a compatible Visual Studio installation
. But I have already installed VS2019 and it is added to the environment variable, also it can run C files and C++ files. I also tried to use gcc bbox_overlaps.c
and g++ bbox_overlaps.c
, but they both cannot find the Python.h
file. Is there any solution for this problem? Thanks very much.
Running Environment: Windows 10, Python 3.8.5, Pytorch 1.9.0 torchvision 0.9.0
, Anaconda and VS Code are also equipped.