I'm trying to install Spacy on my computer but when I run
pip.exe install spacy
I obtain this error:
Requirement already satisfied (use --upgrade to upgrade): spacy in c:\python27
Collecting numpy (from spacy)
Using cached numpy-1.9.2.tar.gz
Running from numpy source directory.
Collecting murmurhash (from spacy)
Using cached murmurhash-0.24.tar.gz
warning: manifest_maker: MANIFEST.in, line 5: 'recursive-include' expects <dir> <pattern1> <pattern2> ...
warning: manifest_maker: MANIFEST.in, line 6: unknown action '*.py'
warning: manifest_maker: MANIFEST.in, line 7: unknown action '*.rst'
Collecting cymem>=1.11 (from spacy)
Using cached cymem-1.11.tar.gz
Collecting preshed (from spacy)
Using cached preshed-0.37.tar.gz
zip_safe flag not set; analyzing archive contents...
headers_workaround.__init__: module references __file__
Installed c:\users\hp-por~1\appdata\local\temp\pip-build-y5elnp\preshed\.eggs\headers_workaround-0.17-py2.7.egg
Collecting thinc (from spacy)
Using cached thinc-1.75.tar.gz
zip_safe flag not set; analyzing archive contents...
headers_workaround.__init__: module references __file__
Installed c:\users\hp-por~1\appdata\local\temp\pip-build-y5elnp\thinc\.eggs\headers_workaround-0.17-py2.7.egg
Requirement already satisfied (use --upgrade to upgrade): unidecode in c:\python27\lib\site-packages (from spacy)
Requirement already satisfied (use --upgrade to upgrade): wget in c:\python27\lib\site-packages (from spacy)
Requirement already satisfied (use --upgrade to upgrade): plac in c:\python27\lib\site-packages (from spacy)
Requirement already satisfied (use --upgrade to upgrade): six in c:\python27\lib\site-packages (from spacy)
Installing collected packages: thinc, preshed, cymem, murmurhash, numpy
Running setup.py install for thinc
building 'thinc.learner' extension
C:\Users\HP-PORTABLE\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -I. -IC:\Python27\include -IC:\Python27\include -IC:\Python27\PC /Tpthinc/learner.cpp /Fobuild\temp.win32-2.7\Release\thinc/learner.obj -O3
cl : Command line warning D9002 : ignoring unknown option '-O3'
learner.cpp
thinc/learner.cpp(238) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
error: command 'C:\\Users\\HP-PORTABLE\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2
Complete output from command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='c:\\users\\hp-por~1\\appdata\\local\\temp\\pip-build-y5elnp\\thinc\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\hp-por~1\appdata\local\temp\pip-qxxztl-record\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build\lib.win32-2.7
creating build\lib.win32-2.7\thinc
copying thinc\context_fields.py -> build\lib.win32-2.7\thinc
copying thinc\util.py -> build\lib.win32-2.7\thinc
copying thinc\__init__.py -> build\lib.win32-2.7\thinc
copying thinc\cache.pyx -> build\lib.win32-2.7\thinc
copying thinc\cy_svm.pyx -> build\lib.win32-2.7\thinc
copying thinc\features.pyx -> build\lib.win32-2.7\thinc
copying thinc\learner.pyx -> build\lib.win32-2.7\thinc
copying thinc\search.pyx -> build\lib.win32-2.7\thinc
copying thinc\thinc.pyx -> build\lib.win32-2.7\thinc
copying thinc\weights.pyx -> build\lib.win32-2.7\thinc
copying thinc\cache.pxd -> build\lib.win32-2.7\thinc
copying thinc\cy_svm.pxd -> build\lib.win32-2.7\thinc
copying thinc\features.pxd -> build\lib.win32-2.7\thinc
copying thinc\learner.pxd -> build\lib.win32-2.7\thinc
copying thinc\search.pxd -> build\lib.win32-2.7\thinc
copying thinc\thinc.pxd -> build\lib.win32-2.7\thinc
copying thinc\typedefs.pxd -> build\lib.win32-2.7\thinc
copying thinc\weights.pxd -> build\lib.win32-2.7\thinc
copying thinc\__init__.pxd -> build\lib.win32-2.7\thinc
copying thinc\compile_time_constants.pxi -> build\lib.win32-2.7\thinc
running build_ext
building 'thinc.learner' extension
creating build\temp.win32-2.7
creating build\temp.win32-2.7\Release
creating build\temp.win32-2.7\Release\thinc
C:\Users\HP-PORTABLE\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -I. -IC:\Python27\include -IC:\Python27\include -IC:\Python27\PC /Tpthinc/learner.cpp /Fobuild\temp.win32-2.7\Release\thinc/learner.obj -O3
cl : Command line warning D9002 : ignoring unknown option '-O3'
learner.cpp
thinc/learner.cpp(238) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
error: command 'C:\\Users\\HP-PORTABLE\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2
----------------------------------------
Command "C:\Python27\python.exe -c "import setuptools, tokenize;__file__='c:\\users\\hp-por~1\\appdata\\local\\temp\\pip-build-y5elnp\\thinc\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\hp-por~1\appdata\local\temp\pip-qxxztl-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\hp-por~1\appdata\local\temp\pip-build-y5elnp\thinc
I've upgraded setuptools, but nothing changes. I'm running a Windows 7 64b. I've installed Visual C++ compiler Package for python 2.7. I'm trying to install on 2 different PC with the same error.