<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="C:\Users\ry\deno&gt;python tools/setup.py
binary download
python C:\Users\ry\deno\third_party\depot_tools\download_from_google_storage.py --platform=win32 --no_auth --bucket=chromium-gn --sha1_file C:\Users\ry\deno\third_party\v8\buildtools\win\gn.exe.sha1
python C:\Users\ry\deno\third_party\depot_tools\download_from_google_storage.py --platform=win32 --no_auth --bucket=chromium-clang-format --sha1_file C:\Users\ry\deno\third_party\v8\buildtools\win\clang-format.exe.sha1
python C:\Users\ry\deno\third_party\v8\tools\clang\scripts\update.py
Downloading https://commondatastorage.googleapis.com/chromium-browser-clang/Win/clang-362913-80fee257-1.tgz .......... Done.
Traceback (most recent call last):
  File &quot;C:\Users\ry\deno\third_party\v8\tools\clang\scripts\update.py&quot;, line 324, in &lt;module&gt;
    sys.exit(main())
  File &quot;C:\Users\ry\deno\third_party\v8\tools\clang\scripts\update.py&quot;, line 320, in main
    return UpdateClang()
  File &quot;C:\Users\ry\deno\third_party\v8\tools\clang\scripts\update.py&quot;, line 258, in UpdateClang
    CopyDiaDllTo(os.path.join(LLVM_BUILD_DIR, 'bin'))
  File &quot;C:\Users\ry\deno\third_party\v8\tools\clang\scripts\update.py&quot;, line 229, in CopyDiaDllTo
    GetWinSDKDir()
  File &quot;C:\Users\ry\deno\third_party\v8\tools\clang\scripts\update.py&quot;, line 202, in GetWinSDKDir
    import vs_toolchain
ImportError: No module named vs_toolchain"><pre class="notranslate"><code class="notranslate">C:\Users\ry\deno&gt;python tools/setup.py
binary download
python C:\Users\ry\deno\third_party\depot_tools\download_from_google_storage.py --platform=win32 --no_auth --bucket=chromium-gn --sha1_file C:\Users\ry\deno\third_party\v8\buildtools\win\gn.exe.sha1
python C:\Users\ry\deno\third_party\depot_tools\download_from_google_storage.py --platform=win32 --no_auth --bucket=chromium-clang-format --sha1_file C:\Users\ry\deno\third_party\v8\buildtools\win\clang-format.exe.sha1
python C:\Users\ry\deno\third_party\v8\tools\clang\scripts\update.py
Downloading https://commondatastorage.googleapis.com/chromium-browser-clang/Win/clang-362913-80fee257-1.tgz .......... Done.
Traceback (most recent call last):
  File "C:\Users\ry\deno\third_party\v8\tools\clang\scripts\update.py", line 324, in &lt;module&gt;
    sys.exit(main())
  File "C:\Users\ry\deno\third_party\v8\tools\clang\scripts\update.py", line 320, in main
    return UpdateClang()
  File "C:\Users\ry\deno\third_party\v8\tools\clang\scripts\update.py", line 258, in UpdateClang
    CopyDiaDllTo(os.path.join(LLVM_BUILD_DIR, 'bin'))
  File "C:\Users\ry\deno\third_party\v8\tools\clang\scripts\update.py", line 229, in CopyDiaDllTo
    GetWinSDKDir()
  File "C:\Users\ry\deno\third_party\v8\tools\clang\scripts\update.py", line 202, in GetWinSDKDir
    import vs_toolchain
ImportError: No module named vs_toolchain
</code></pre></div>
<p dir="auto">I've followed the manual : <a href="https://deno.land/manual.html#buildfromsource" rel="nofollow">https://deno.land/manual.html#buildfromsource</a></p>
<p dir="auto">And i've the error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" GetWinSDKDir
    import vs_toolchain
ImportError: No module named vs_toolchain"><pre class="notranslate"><code class="notranslate"> GetWinSDKDir
    import vs_toolchain
ImportError: No module named vs_toolchain
</code></pre></div>
<p dir="auto">After checking in <a href="https://github.com/denoland/deno/blob/master/.appveyor.yml">https://github.com/denoland/deno/blob/master/.appveyor.yml</a> i have updated my PYTHONPATH to <code class="notranslate">C:\temp\deno\third_party\python_packages</code><br>
then i got:<br>
<code class="notranslate">Exception: Visual Studio version 2015 (from GYP_MSVS_VERSION) not supported. Supported versions are: 2017, 2019</code><br>
Problem is i have already installed nodejs before and it sets this env variable. After changing it to :<br>
<code class="notranslate">GYP_MSVS_VERSION=2017</code><br>
It works!<br>
Maybe the documentation needs to be updated or i got a weird configuration?</p>