Python Scikit-image Install Fail Using Pip Pip

I try to install a scikit image and get an error message. I'm not sure how to display the text correctly, so just a simple paste that I made.

building 'skimage.external.tifffile._tifffile' extension compiling C sources creating build\temp.win32-2.7\Release\skimage\external creating build\temp.win32-2.7\Release\skimage\external\tifffile C:\Users\Kyle\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG /arch:SSE2 -Ic:\python27\lib\site-packages\numpy\core\include -Ic:\python27\lib\site-packages\numpy\core\include -Ic:\python27\include -Ic:\python27\PC /Tcskimage\external\tifffile\tifffile.c /Fobuild\temp.win32-2.7\Release\skimage\external\tifffile\tifffile.obj tifffile.c skimage\external\tifffile\tifffile.c(75) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory error: Command "C:\Users\Kyle\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG /arch:SSE2 -Ic:\python27\lib\site-packages\numpy\core\include -Ic:\python27\lib\site-packages\numpy\core\include -Ic:\python27\include -Ic:\python27\PC /Tcskimage\external\tifffile\tifffile.c /Fobuild\temp.win32-2.7\Release\skimage\external\tifffile\tifffile.obj" failed with exit status 2 
+5
source share
1 answer

The problem was that stdint.h was not installed with VS Python setup.

To solve this problem, visit https://raw.githubusercontent.com/mattn/gntp-send/master/include/msinttypes/stdint.h

Copy and paste the text into the notepad document / text editor and save it C: \ Users \ Kyle \ AppData \ Local \ Programs \ Common \ Microsoft \ Visual C ++ for Python \ 9.0 \ VC \ include \

Save it as stdint.h

+16
source

Source: https://habr.com/ru/post/1269408/


All Articles