I’ve encountered problem when installing pytorch from source (the ‘master’ branch) in ‘Anaconda’ following the instruction 2 . I’m interested in installing from source because i attempt to allow pyTorch to support my old GPU.
Can anyone help to explain why it needs to set for the ‘NVTOOLEXT_HOME’ env variable ? anything might be potentially missing in my installation steps ?
Thanks,
...
(pytorchtest) C:\myproject\python>call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64 -vcvars_ver=14.11
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.8.3
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[ERROR:vcvars.bat] Toolset directory for version '14.11' was not found.
[ERROR:VsDevCmd.bat] *** VsDevCmd.bat encountered errors. Environment may be incomplete and/or incorrect. ***
[ERROR:VsDevCmd.bat] In an uninitialized command prompt, please 'set VSCMD_DEBUG=[value]' and then re-run
[ERROR:VsDevCmd.bat] vsdevcmd.bat [args] for additional details.
[ERROR:VsDevCmd.bat] Where [value] is:
[ERROR:VsDevCmd.bat]    1 : basic debug logging
[ERROR:VsDevCmd.bat]    2 : detailed debug logging
[ERROR:VsDevCmd.bat]    3 : trace level logging. Redirection of output to a file when using this level is recommended.
[ERROR:VsDevCmd.bat] Example: set VSCMD_DEBUG=3
[ERROR:VsDevCmd.bat]          vsdevcmd.bat > vsdevcmd.trace.txt 2>&1
Building wheel torch-0.5.0a0+70d93f4
Traceback (most recent call last):
  File "C:\myproject\python\pytorch\setup.py", line 919, in <module>
    nvtoolext_lib_path = NVTOOLEXT_HOME + '/lib/x64/'
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'