HRNet-Semantic-Segmentation icon indicating copy to clipboard operation
HRNet-Semantic-Segmentation copied to clipboard

How to solve "subprocess.CalledProcessError: Command '['where', 'cl']' returned non-zero exit status 1." problem whem run train.py?

Open qbTrible opened this issue 4 years ago • 2 comments

When I run train.py, it raise "subprocess.CalledProcessError: Command '['where', 'cl']' returned non-zero exit status 1.". How to solve this problem?

qbTrible avatar Aug 21 '20 09:08 qbTrible

Have you solve this problem?

SUNNYDAY-4176 avatar Jan 27 '21 11:01 SUNNYDAY-4176

I managed to wolve it by installing Visual C++ compiler. The failure is related with the call to "cl" that is the way you call to compile the c++ libraries. So install it and add to your PATH the route to the cl.exe file

Mauales avatar Feb 14 '21 14:02 Mauales