explosion / spaCy

💫 Industrial-strength Natural Language Processing (NLP) in Python
https://spacy.io
MIT License
30.15k stars 4.4k forks source link

[WinError 2] The system cannot find the file specified #6348

Closed tnnrj closed 3 years ago

tnnrj commented 4 years ago

How to reproduce the problem

I have tried every way I can find to install spaCy, using precompiled binaries, in and out of a venv... and keep running into the same issue.

ERROR: Command errored out with exit status 1:
   command: 'c:\users\tbot\appdata\local\programs\python\python39\python.exe' 'c:\users\tbot\appdata\local\programs\python\python39\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\tbot\AppData\Local\Temp\pip-build-env-9o3w_t4z\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'cython>=0.25' 'cymem>=2.0.2,<2.1.0' 'preshed>=3.0.2,<3.1.0' 'murmurhash>=0.28.0,<1.1.0' thinc==7.4.1
       cwd: None
  Complete output (64 lines):
  Collecting setuptools
    Using cached setuptools-50.3.2-py3-none-any.whl (785 kB)
  Collecting wheel
    Using cached wheel-0.35.1-py2.py3-none-any.whl (33 kB)
  Collecting cython>=0.25
    Using cached Cython-0.29.21-py2.py3-none-any.whl (974 kB)
  Collecting cymem<2.1.0,>=2.0.2
    Using cached cymem-2.0.4-cp39-cp39-win_amd64.whl (36 kB)
  Collecting preshed<3.1.0,>=3.0.2
    Using cached preshed-3.0.3-cp39-cp39-win_amd64.whl (112 kB)
  Collecting murmurhash<1.1.0,>=0.28.0
    Using cached murmurhash-1.0.4-cp39-cp39-win_amd64.whl (21 kB)
  Collecting thinc==7.4.1
    Using cached thinc-7.4.1.tar.gz (1.3 MB)
  Collecting blis<0.5.0,>=0.4.0
    Using cached blis-0.4.1.tar.gz (1.8 MB)
  Collecting wasabi<1.1.0,>=0.0.9
    Using cached wasabi-0.8.0-py3-none-any.whl (23 kB)
  Collecting srsly<1.1.0,>=0.0.6
    Using cached srsly-1.0.3-cp39-cp39-win_amd64.whl (287 kB)
  Collecting catalogue<1.1.0,>=0.0.7
    Using cached catalogue-1.0.0-py2.py3-none-any.whl (7.7 kB)
  Collecting numpy>=1.7.0
    Using cached numpy-1.19.4-cp39-cp39-win_amd64.whl (13.0 MB)
  Collecting plac<1.2.0,>=0.9.6
    Using cached plac-1.1.3-py2.py3-none-any.whl (20 kB)
  Collecting tqdm<5.0.0,>=4.10.0
    Using cached tqdm-4.51.0-py2.py3-none-any.whl (70 kB)
  Using legacy 'setup.py install' for thinc, since package 'wheel' is not installed.
  Using legacy 'setup.py install' for blis, since package 'wheel' is not installed.
  Installing collected packages: setuptools, wheel, cython, cymem, murmurhash, preshed, numpy, blis, wasabi, srsly, catalogue, plac, tqdm, thinc
      Running setup.py install for blis: started
      Running setup.py install for blis: finished with status 'error'
      ERROR: Command errored out with exit status 1:
       command: 'c:\users\tbot\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\tbot\\AppData\\Local\\Temp\\pip-install-cz4dlex2\\blis\\setup.py'"'"'; __file__='"'"'C:\\Users\\tbot\\AppData\\Local\\Temp\\pip-install-cz4dlex2\\blis\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\tbot\AppData\Local\Temp\pip-record-0s0qh42y\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\tbot\AppData\Local\Temp\pip-build-env-9o3w_t4z\overlay' --compile --install-headers 'C:\Users\tbot\AppData\Local\Temp\pip-build-env-9o3w_t4z\overlay\Include\blis'
           cwd: C:\Users\tbot\AppData\Local\Temp\pip-install-cz4dlex2\blis\
      Complete output (25 lines):
      BLIS_COMPILER? None
      running install
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-3.9
      creating build\lib.win-amd64-3.9\blis
      copying blis\about.py -> build\lib.win-amd64-3.9\blis
      copying blis\benchmark.py -> build\lib.win-amd64-3.9\blis
      copying blis\__init__.py -> build\lib.win-amd64-3.9\blis
      creating build\lib.win-amd64-3.9\blis\tests
      copying blis\tests\common.py -> build\lib.win-amd64-3.9\blis\tests
      copying blis\tests\test_dotv.py -> build\lib.win-amd64-3.9\blis\tests
      copying blis\tests\test_gemm.py -> build\lib.win-amd64-3.9\blis\tests
      copying blis\tests\__init__.py -> build\lib.win-amd64-3.9\blis\tests
      copying blis\cy.pyx -> build\lib.win-amd64-3.9\blis
      copying blis\py.pyx -> build\lib.win-amd64-3.9\blis
      copying blis\cy.pxd -> build\lib.win-amd64-3.9\blis
      copying blis\__init__.pxd -> build\lib.win-amd64-3.9\blis
      running build_ext
      msvc
      py_compiler msvc
      {'APPVEYOR_REPO_COMMIT_AUTHOR': 'Matthew Honnibal', 'LIB': 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\LIB\\amd64;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\ATLMFC\\LIB\\amd64;C:\\Program Files (x86)\\Windows Kits\\10\\lib\\10.0.14393.0\\ucrt\\x64;C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.6.1\\lib\\um\\x64;C:\\Program Files (x86)\\Windows Kits\\10\\lib\\10.0.14393.0\\um\\x64;', 'VS100COMNTOOLS': 'c:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\Tools\\', 'APPVEYOR_PROJECT_NAME': 'cython-blis', 'AVVM_DOWNLOAD_URL': 'https://appveyordownloads.blob.core.windows.net/avvm', 'GIT_LFS_PATH': 'C:\\Program Files\\Git LFS', 'MSYSTEM_CHOST': 'x86_64-pc-msys', 'APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL': 'honnibal+gh@gmail.com', 'WINDOWSSDK_EXECUTABLEPATH_X64': 'C:\\Program Files (x86)\\Microsoft 
SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.1 Tools\\x64\\', 'SYSTEMROOT': 'C:\\windows', 'LASTEXITCODE': '0', 'CHOCOLATEYLASTPATHUPDATE': 'Sun Feb  3 19:40:40 2019', 'INFOPATH': 'C:\\Program Files\\Git\\usr\\local\\info;C:\\Program Files\\Git\\usr\\share\\info;C:\\Program Files\\Git\\usr\\info;C:\\Program Files\\Git\\share\\info', 'SHELL': 'C:\\Program Files\\Git\\usr\\bin\\bash.exe', 'MSYSTEM_CARCH': 'x86_64', 'MSYS2_PATH_TYPE': 'inherit', 'MANPATH': 'C:\\Program Files\\Git\\usr\\local\\man;C:\\Program Files\\Git\\usr\\share\\man;C:\\Program Files\\Git\\usr\\man;C:\\Program Files\\Git\\share\\man', 'JAVA_HOME': 'C:\\Progra~1\\Java\\jdk1.8.0', 'CI_WINDOWS': 'True', 'APPVEYOR_BUILD_AGENT_HYPERV_NIC_CONFIGURED': 'true', 'WINDOWSLIBPATH': 'C:\\Program Files (x86)\\Windows Kits\\10\\UnionMetadata;C:\\Program Files (x86)\\Windows Kits\\10\\References', 'COMSPEC': 'C:\\windows\\system32\\cmd.exe', 'WINDIR': 'C:\\windows', 'RANLIB': 'echo', 'APPVEYOR_REPO_COMMIT': '8bbf4b332e237459bb8f45dc9414b3049a202939', 'VS90COMNTOOLS': 'C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\Common7\\Tools\\', 'ENABLENUGETPACKAGERESTORE': 'true', 'SESSIONNAME': 'Console', 'CONFIG_SITE': 'C:/Program Files/Git/etc/config.site', 'HOMEDRIVE': 'C:', 'SYSTEMDRIVE': 'C:', 'HOSTNAME': 'APPVYR-WIN', 'APPVEYOR': 'True', 'FRAMEWORKVERSION64': 'v4.0.30319', 'PROCESSOR_LEVEL': '6', 'OS': 'Windows_NT', 'FSHARPINSTALLDIR': 'C:\\Program Files (x86)\\Microsoft SDKs\\F#\\4.0\\Framework\\v4.0\\', 'WINDOWSSDK_EXECUTABLEPATH_X86': 'C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.1 Tools\\', 'GOROOT': 'C:\\go', 'APPVEYOR_BUILD_WORKER_IMAGE': 'Visual Studio 2015', 'CI_LINUX': 'False', 'UCRTVERSION': '10.0.14393.0', 'APPVEYOR_API_URL': 'http://localhost:1033/', 'TEMP': 'C:\\Users\\appveyor\\AppData\\Local\\Temp\\1', 'SHLVL': '1', 'APPVEYOR_REPO_NAME': 'explosion/cython-blis', 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files', 'APR_ICONV_PATH': 'C:\\Program Files (x86)\\Subversion\\iconv', 'HOMEPATH': '\\Users\\appveyor', 'VISUALSTUDIOVERSION': '14.0', 'M2_HOME': 'C:\\Program Files (x86)\\Apache\\Maven', 'WINDOWSSDKDIR': 'C:\\Program Files (x86)\\Windows Kits\\10\\', 'FRAMEWORKDIR64': 'c:\\Windows\\Microsoft.NET\\Framework64', 'LOGONSERVER': '\\\\APPVYR-WIN', 'APPVEYOR_JOB_ID': 'wp7dj9edlg7t43xq', 'PKG_CONFIG_PATH': 'C:\\Program Files\\Git\\usr\\lib\\pkgconfig;C:\\Program Files\\Git\\usr\\share\\pkgconfig;C:\\Program Files\\Git\\lib\\pkgconfig', 'APPVEYOR_REPO_PROVIDER': 'gitHub', '_': 'C:/Python27/python', 'APPVEYOR_URL': 'https://ci.appveyor.com', 'OPENSSL_CONF': 'C:\\OpenSSL-Win32\\bin\\openssl.cfg', 'APPDATA': 'C:\\Users\\appveyor\\AppData\\Roaming', 'APPVEYOR_REPO_BRANCH': 'update-blis', 'APPVEYOR_BUILD_ID': '23072639', 'WIX': 'C:\\Program Files (x86)\\WiX Toolset v3.11\\', 'FRAMEWORKVERSION': 'v4.0.30319', 'TMP': 'C:\\Users\\appveyor\\AppData\\Local\\Temp\\1', 'COMPUTERNAME': 'APPVYR-WIN', 'VS110COMNTOOLS': 'C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\Tools\\', 'WINDOWSSDKLIBVERSION': '10.0.14393.0\\', 'USERDOMAIN': 'APPVYR-WIN', 'VSSDK120INSTALL': 'C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VSSDK\\', 'ORIGINAL_TMP': 'C:/Users/appveyor/AppData/Local/Temp/1', 'COMMONPROGRAMFILES': 'C:\\Program Files (x86)\\Common Files', 'VSSDK140INSTALL': 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VSSDK\\', 'HOME': 'C:\\Users\\appveyor', 'LANG': 'en_US.UTF-8', 'CODECONTRACTSINSTALLDIR': 'C:\\Program Files (x86)\\Microsoft\\Contracts\\', 'FRAMEWORK40VERSION': 'v4.0', 'MSYSTEM_PREFIX': 'C:/Program Files/Git/usr', 'PROCESSOR_ARCHITECTURE': 'x86', 'CHOCOLATEYINSTALL': 'C:\\ProgramData\\chocolatey', 'ALLUSERSPROFILE': 'C:\\ProgramData', 'TMPDIR': 'C:\\Users\\appveyor\\AppData\\Local\\Temp\\1', 'APPVEYOR_BUILD_NUMBER': '483', 'FRAMEWORKDIR': 'c:\\Windows\\Microsoft.NET\\Framework64', 'PROGRAMW6432': 'C:\\Program Files', 'USERNAME': 'appveyor', 'CI': 'True', 'PROMPT': '$P$G', 'APPVEYOR_REPO_COMMIT_TIMESTAMP': '2019-03-14T13:33:06.0000000Z', 'CC': 'clang', 'USERDOMAIN_ROAMINGPROFILE': 'APPVYR-WIN', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.CPL', 'ORIGINAL_TEMP': 'C:/Users/appveyor/AppData/Local/Temp/1', 'APPVEYOR_BUILD_FOLDER': 'C:\\projects\\cython-blis-h674r', 'XUNIT20': 'C:\\Tools\\xUnit20', 'APPVEYOR_PROJECT_ID': '484208', 'NUMBER_OF_PROCESSORS': '2', 'ERLANG_HOME': 'C:\\Program Files\\erl9.2', 'PROCESSOR_ARCHITEW6432': 'AMD64', 'PUBLIC': 'C:\\Users\\Public', 'WINDOWSSDKVERSION': '10.0.14393.0\\', 'USERPROFILE': 'C:\\Users\\appveyor', 'PSMODULEPATH': 'C:\\Users\\appveyor\\Documents\\WindowsPowerShell\\Modules;C:\\Users\\appveyor\\Documents\\WindowsPowerShell\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\PowerShell\\Modules;C:\\Program Files (x86)\\Microsoft SQL Server\\120\\Tools\\PowerShell\\Modules;C:\\Program Files\\AppVeyor\\BuildAgent\\Modules;C:\\Program Files (x86)\\Microsoft SQL Server\\130\\Tools\\PowerShell\\Modules;C:\\Program Files (x86)\\AWS Tools\\PowerShell;C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\PowerShell\\ResourceManager\\AzureResourceManager;C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\PowerShell\\ServiceManagement;C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\PowerShell\\Storage;C:\\Program Files (x86)\\Microsoft SQL Server\\140\\Tools\\PowerShell\\Modules;c:\\Program Files (x86)\\Microsoft SQL Server\\130\\Tools\\PowerShell\\Modules\\', 'VS140COMNTOOLS': 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\', 'APPVEYOR_REPO_TAG': 'false', 'APPVEYOR_PROJECT_SLUG': 'cython-blis-h674r', 'LIBPATH': 'c:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\LIB\\amd64;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\ATLMFC\\LIB\\amd64;C:\\Program Files (x86)\\Windows Kits\\10\\UnionMetadata;C:\\Program Files (x86)\\Windows Kits\\10\\References;C:\\Program Files (x86)\\Microsoft SDKs\\Windows Kits\\10\\ExtensionSDKs\\Microsoft.VCLibs\\14.0\\References\\CommonConfiguration\\neutral;', 'ORIGINAL_PATH': 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\CommonExtensions\\Microsoft\\TestWindow;C:\\Program Files (x86)\\MSBuild\\14.0\\bin\\amd64;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64;C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\VCPackages;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools;C:\\Program Files (x86)\\HTML Help Workshop;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Team Tools\\Performance Tools\\x64;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Team Tools\\Performance Tools;C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x64;C:\\Program 
Files (x86)\\Windows Kits\\10\\bin\\x86;C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.1 Tools\\x64;C:\\Program Files\\LLVM\\bin;C:\\msys64\\mingw64\\bin;C:\\msys64\\bin;C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI2\\wbin;C:\\Perl\\site\\bin;C:\\Perl\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\7-Zip;C:\\Program Files\\Microsoft\\Web Platform Installer;C:\\Tools\\GitVersion;C:\\Tools\\PsTools;C:\\Program Files\\Git LFS;C:\\Program Files (x86)\\Subversion\\bin;C:\\Program Files\\Microsoft SQL Server\\120\\Tools\\Binn;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\110\\Tools\\Binn;C:\\Program Files (x86)\\Microsoft SQL Server\\120\\Tools\\Binn;C:\\Program Files\\Microsoft SQL Server\\120\\DTS\\Binn;C:\\Program Files (x86)\\Microsoft SQL Server\\120\\Tools\\Binn\\ManagementStudio;C:\\Tools\\WebDriver;C:\\Program Files (x86)\\Microsoft SDKs\\TypeScript\\1.4;C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\IDE\\PrivateAssemblies;C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\wbin;C:\\Ruby193\\bin;C:\\Tools\\NUnit\\bin;C:\\Tools\\xUnit;C:\\Tools\\MSpec;C:\\Tools\\Coverity\\bin;C:\\Program Files (x86)\\CMake\\bin;C:\\go\\bin;C:\\Program Files\\Java\\jdk1.8.0\\bin;C:\\Python27;C:\\Program Files\\nodejs;C:\\Program Files (x86)\\iojs;C:\\Program Files\\iojs;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn;C:\\Program Files (x86)\\MSBuild\\14.0\\Bin;C:\\Tools\\NuGet;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\CommonExtensions\\Microsoft\\TestWindow;C:\\Program Files\\Microsoft DNX\\Dnvm;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\130\\Tools\\Binn;C:\\Program Files (x86)\\Microsoft SQL Server\\130\\Tools\\Binn;C:\\Program Files (x86)\\Microsoft SQL Server\\130\\DTS\\Binn;C:\\Program Files\\Microsoft SQL Server\\130\\DTS\\Binn;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn;C:\\Program Files (x86)\\Microsoft SQL Server\\120\\DTS\\Binn;C:\\Program Files (x86)\\Apache\\Maven\\bin;C:\\Python27\\Scripts;C:\\Tools\\NUnit3;C:\\Program Files\\Mercurial;C:\\Program Files\\dotnet;C:\\Tools\\curl\\bin;C:\\Program Files\\Amazon\\AWSCLI;C:\\Program Files (x86)\\Microsoft SQL Server\\140\\DTS\\Binn;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\Extensions\\Microsoft\\SQLDB\\DAC\\140;C:\\Tools\\vcpkg;C:\\Program Files (x86)\\Microsoft SQL Server\\140\\Tools\\Binn;C:\\Program Files\\Microsoft SQL Server\\140\\Tools\\Binn;C:\\Program Files\\Microsoft SQL Server\\140\\DTS\\Binn;C:\\Program Files\\erl9.2\\bin;C:\\Program Files (x86)\\NSIS;C:\\Tools\\Octopus;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Microsoft Service Fabric\\bin\\Fabric\\Fabric.Code;C:\\Program Files\\Microsoft SDKs\\Service Fabric\\Tools\\ServiceFabricLocalClusterManager;C:\\Program Files\\LLVM\\bin;C:\\Program Files (x86)\\Yarn\\bin;C:\\Users\\appveyor\\AppData\\Roaming\\npm;C:\\Program Files\\PowerShell\\6;C:\\Program Files (x86)\\nodejs;C:\\ProgramData\\chocolatey\\bin;C:\\Users\\appveyor\\.dotnet\\tools;C:\\Users\\appveyor\\AppData\\Local\\Yarn\\bin;C:\\Users\\appveyor\\AppData\\Roaming\\npm;C:\\Program Files\\AppVeyor\\BuildAgent;C:\\blis\\lib', 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 63 Stepping 2, GenuineIntel', 'COMMANDPROMPTTYPE': 'Native', 'PROGRAMFILES': 'C:\\Program Files (x86)', 'PROCESSOR_REVISION': '3f02', 'MAVEN_HOME': 'C:\\Program Files (x86)\\Apache\\Maven', 'PATH': 'C:\\Users\\appveyor\\bin;C:\\Program Files\\Git\\usr\\local\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\opt\\bin;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\CommonExtensions\\Microsoft\\TestWindow;C:\\Program Files (x86)\\MSBuild\\14.0\\bin\\amd64;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64;C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\VCPackages;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools;C:\\Program Files (x86)\\HTML 
Help Workshop;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Team Tools\\Performance Tools\\x64;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Team Tools\\Performance Tools;C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x64;C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x86;C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.1 Tools\\x64;C:\\Program Files\\LLVM\\bin;C:\\msys64\\mingw64\\bin;C:\\msys64\\bin;C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI2\\wbin;C:\\Perl\\site\\bin;C:\\Perl\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\7-Zip;C:\\Program Files\\Microsoft\\Web Platform Installer;C:\\Tools\\GitVersion;C:\\Tools\\PsTools;C:\\Program Files\\Git LFS;C:\\Program Files (x86)\\Subversion\\bin;C:\\Program 
Files\\Microsoft SQL Server\\120\\Tools\\Binn;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\110\\Tools\\Binn;C:\\Program Files (x86)\\Microsoft SQL Server\\120\\Tools\\Binn;C:\\Program Files\\Microsoft SQL Server\\120\\DTS\\Binn;C:\\Program Files (x86)\\Microsoft SQL Server\\120\\Tools\\Binn\\ManagementStudio;C:\\Tools\\WebDriver;C:\\Program Files (x86)\\Microsoft SDKs\\TypeScript\\1.4;C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\IDE\\PrivateAssemblies;C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\wbin;C:\\Ruby193\\bin;C:\\Tools\\NUnit\\bin;C:\\Tools\\xUnit;C:\\Tools\\MSpec;C:\\Tools\\Coverity\\bin;C:\\Program Files (x86)\\CMake\\bin;C:\\go\\bin;C:\\Program Files\\Java\\jdk1.8.0\\bin;C:\\Python27;C:\\Program Files\\nodejs;C:\\Program Files (x86)\\iojs;C:\\Program Files\\iojs;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn;C:\\Program Files (x86)\\MSBuild\\14.0\\Bin;C:\\Tools\\NuGet;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\CommonExtensions\\Microsoft\\TestWindow;C:\\Program Files\\Microsoft DNX\\Dnvm;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\130\\Tools\\Binn;C:\\Program Files (x86)\\Microsoft SQL Server\\130\\Tools\\Binn;C:\\Program Files (x86)\\Microsoft SQL Server\\130\\DTS\\Binn;C:\\Program Files\\Microsoft SQL Server\\130\\DTS\\Binn;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn;C:\\Program Files (x86)\\Microsoft SQL Server\\120\\DTS\\Binn;C:\\Program Files (x86)\\Apache\\Maven\\bin;C:\\Python27\\Scripts;C:\\Tools\\NUnit3;C:\\Program Files\\Mercurial;C:\\Program Files\\dotnet;C:\\Tools\\curl\\bin;C:\\Program Files\\Amazon\\AWSCLI;C:\\Program Files (x86)\\Microsoft SQL Server\\140\\DTS\\Binn;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\Extensions\\Microsoft\\SQLDB\\DAC\\140;C:\\Tools\\vcpkg;C:\\Program Files (x86)\\Microsoft SQL Server\\140\\Tools\\Binn;C:\\Program Files\\Microsoft SQL Server\\140\\Tools\\Binn;C:\\Program Files\\Microsoft SQL Server\\140\\DTS\\Binn;C:\\Program Files\\erl9.2\\bin;C:\\Program Files (x86)\\NSIS;C:\\Tools\\Octopus;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Microsoft Service Fabric\\bin\\Fabric\\Fabric.Code;C:\\Program Files\\Microsoft SDKs\\Service Fabric\\Tools\\ServiceFabricLocalClusterManager;C:\\Program Files\\LLVM\\bin;C:\\Program Files (x86)\\Yarn\\bin;C:\\Users\\appveyor\\AppData\\Roaming\\npm;C:\\Program Files\\PowerShell\\6;C:\\Program Files (x86)\\nodejs;C:\\ProgramData\\chocolatey\\bin;C:\\Users\\appveyor\\.dotnet\\tools;C:\\Users\\appveyor\\AppData\\Local\\Yarn\\bin;C:\\Users\\appveyor\\AppData\\Roaming\\npm;C:\\Program Files\\AppVeyor\\BuildAgent;C:\\blis\\lib;C:\\Program Files\\Git\\usr\\bin\\vendor_perl;C:\\Program Files\\Git\\usr\\bin\\core_perl', 'PROGRAMFILES(X86)': 'C:\\Program Files (x86)', 'TERM': 'cygwin', 'PS1': '\\[\\033]0;$TITLEPREFIX:$PWD\\007\\]\\n\\[\\033[32m\\]\\u@\\h \\[\\033[35m\\]$MSYSTEM \\[\\033[33m\\]\\w\\[\\033[36m\\]`__git_ps1`\\[\\033[0m\\]\\n$ ', 'INCLUDE': 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\INCLUDE;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\ATLMFC\\INCLUDE;C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.14393.0\\ucrt;C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.6.1\\include\\um;C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.14393.0\\shared;C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.14393.0\\um;C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.14393.0\\winrt;', 'APPVEYOR_REPO_COMMIT_MESSAGE': 'Fiddle with appveyor', 'VS120COMNTOOLS': 'C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\Tools\\', 'NETFXSDKDIR': 'C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.6.1\\', 'VSINSTALLDIR': 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\', 'PLATFORM': 'X64', 'LOCALAPPDATA': 'C:\\Users\\appveyor\\AppData\\Local', 'EXTENSIONSDKDIR': 'C:\\Program Files (x86)\\Microsoft SDKs\\Windows Kits\\10\\ExtensionSDKs', 'APPVEYOR_BUILD_VERSION': '1.0.483', 'APPVEYOR_REPO_SCM': 'git', 'MSYSTEM': 'MSYS', 'PROGRAMDATA': 'C:\\ProgramData', 'APPVEYOR_JOB_NUMBER': '1', 'AS': 'llvm-as', 'AR': 'llvm-ar', 'APPVEYOR_ACCOUNT_NAME': 'honnibal', 'FP_NO_HOST_CHECK': 'NO', 'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files', 'OLDPWD': 'C:/projects/cython-blis-h674r/flame-blis', 'DXSDK_DIR': 'C:\\Program Files (x86)\\Microsoft DirectX SDK (June 2010)\\', '7ZIP': '"C:\\Program Files\\7-Zip\\7z.exe"', 'PWD': 'C:/projects/cython-blis', 'CFLAGS': '-Wno-macro-redefined', 'UNIVERSALCRTSDKDIR': 'C:\\Program Files (x86)\\Windows Kits\\10\\', 'VCINSTALLDIR': 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\'}error: [WinError 2] The system cannot find the file 
specified

      clang -c C:\Users\tbot\AppData\Local\Temp\pip-install-cz4dlex2\blis\blis\_src\config\bulldozer\bli_cntx_init_bulldozer.c -o C:\Users\tbot\AppData\Local\Temp\tmptkwhk7_t\bli_cntx_init_bulldozer.o -O3 -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude\windows-x86_64 -I.\frame\3\ -I.\frame\ind\ukernels\ -I.\frame\1m\ -I.\frame\1f\ -I.\frame\1\ -I.\frame\include -IC:\Users\tbot\AppData\Local\Temp\pip-install-cz4dlex2\blis\blis\_src\include\windows-x86_64
      ----------------------------------------
  ERROR: Command errored out with exit status 1: 'c:\users\tbot\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = 
'"'"'C:\\Users\\tbot\\AppData\\Local\\Temp\\pip-install-cz4dlex2\\blis\\setup.py'"'"'; __file__='"'"'C:\\Users\\tbot\\AppData\\Local\\Temp\\pip-install-cz4dlex2\\blis\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\tbot\AppData\Local\Temp\pip-record-0s0qh42y\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\tbot\AppData\Local\Temp\pip-build-env-9o3w_t4z\overlay' --compile --install-headers 'C:\Users\tbot\AppData\Local\Temp\pip-build-env-9o3w_t4z\overlay\Include\blis' Check the logs for full command output.
  ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\tbot\appdata\local\programs\python\python39\python.exe' 'c:\users\tbot\appdata\local\programs\python\python39\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\tbot\AppData\Local\Temp\pip-build-env-9o3w_t4z\overlay' --no-warn-script-location --no-binary 
:none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'cython>=0.25' 'cymem>=2.0.2,<2.1.0' 'preshed>=3.0.2,<3.1.0' 'murmurhash>=0.28.0,<1.1.0' thinc==7.4.1 Check the logs for full command output.

Seems like the relevant part of this error log is 'VCINSTALLDIR': 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\'}error: [WinError 2] The system cannot find the file specified.

I have tried install VS build tools as well as Visual Studio, with all C++ v142 build tools. The directory it's looking for VS in (\Microsoft Visual Studio 14.0) does not exist - don't know why it's looking there.

Your Environment

adrianeboyd commented 4 years ago

We're working on it, but we haven't published binary wheels for spacy for python 3.9 yet. Please use python 3.8 instead for now.

github-actions[bot] commented 3 years ago

This issue has been automatically closed because it was answered and there was no follow-up discussion.

github-actions[bot] commented 3 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.