Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Visual Studio 2015 PlatformSDK now?

When I ran something (such as pip install scrapy) with python 3.7, I got a trouble with error: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib' and I found there is no PlatformSDK in my VS 14.0 at all.

(Update on 24 Jul 2018: I got another error [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v8.1\\lib' when I ran pip install scrapy on another laptop, also Win 10 OS. I'm not sure whether my case is similar to this question's)

Then I got a vs_community.exe source from here and installed Web Developer Tools and Visual Studio Extensibility Tools Update 3 successfully, but still no PlatformSDK.

So how can I get this missing folder and its packages inside it?

like image 678
Taurus Dang Avatar asked Oct 17 '22 15:10

Taurus Dang


1 Answers

Once I had a problem installing another Python program (QARK) that required Windows Visual C++. In fact in cmd / PowerShell I was told that a required version was missing.
So I followed what was written on THIS site, so I didn't have this problem anymore (I also rebooted, for safety):

  1. Install using any ONE of these choices:
    • Microsoft Build Tools for Visual Studio
    • Alternative link to Microsoft Build Tools for Visual Studio.
    • Offline installer: vs_buildtools.exe
  2. Select: Workloads → C++ build tools.
  3. Install options: select only the “Windows 10 SDK” (assuming the computer is Windows 10). Optionally, if you want to use MSVC cl.exe C/C++ compiler from the command line, additionally select the C++ build tools, which takes an additional 2 GB disk space.


After that I didn't have any problems running it.
I hope I have been helpful! 🤞

like image 118
Jack T Avatar answered Oct 21 '22 00:10

Jack T