The reason is that it needs to find the compiler for the cpp_extension, which is called cl. You should have VS 2017 installed, start “x64 Native Tools Command Prompt for VS 2017” and run python in that environment.