fatal error C1083: Cannot open include file: 'basetsd.h'

后端 未结 5 875
北海茫月
北海茫月 2021-01-21 11:47

So i have been trying to install Scrapy for Python for the last couple of days. Trying anything i could think off and read everything i have come across with similar problems,

5条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-21 12:32

    I could solve this problem by downloading and installing the latest Windows 10 SDK from this link: https://software-download.microsoft.com/download/pr/19041.685.201201-2105.vb_release_svc_prod1_WindowsSDK.iso

    and the basetsd.h file appeared in the following folder:

    C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared

提交回复
热议问题