I use Python 3.4.1 64 bit on Windows 7. When I tried to install scikit-image using pip, I encountered a popular problem: "could not find vcvarsall.bat". I made sure that I had both Visual Studio 2009 and 2010 redistributable installed and VS90COMNTOOLS and VS100COMNTOOLS added to the environment variable. But it did not help. The same error persists.
Then I decided to try MinGW-w64. So I installed it. Add the bin folder to PATH. Then create a distutils.cfg file that has this code
[Build] compiler = mingw-w64
Then I get this error message: βI donβt know how to compile C / C ++ code on the nt platform with the mingw-w64 compiler. How can I solve this?
PS I know that I can download binary files from Christophe Golke's page, but I still would like to know how to do it myself.
user3667217
source share