I am trying to install the scikits.samplerate library for Python on Windows 10. My version of Python 3.5.1 is installed with the Anaconda distribution using the MSVC 14.0 compiler. I compiled and linked the required libsamplerate files. However, when I go to install the module using the command
python setup.py install
I'm missing file header errors. I have first
Cannot open include file: 'corecrt.h': No such file or directory
but this is not the only heading missing. There are other basics like stdlib.h and io.h.
I think my question is, is there something wrong with my installation of Visual Studio 2015? I already installed Visual Studio 2013, so it somehow messed up? I am aware of the switch to universal CRT, but the include directory that the compilation command points to does not actually exist:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\ucrt
I have two more ucrt include directories, but they are in the following:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0\ucrt
Adding these as included directories and continuing with scikits.samplerate results in
python.exe has stopped working
I really have no ideas, and I would really like this library to work.
source
share