FileNotFoundError \\Microsoft SDKs\\Windows\\v8.1\

2019-05-29 02:44发布

问题:

While trying to install PyNacl, i run into this error: FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v8.1\\lib'

Which then leads to this: Command "python setup.py egg_info" failed with error code 1 in C:\Users\HPZ420~1\AppData\Local\Temp\pycharm-packaging\PyNaCl\

I've had no problems installing any other packages, and i've looked all over for solutions to no avail.

I've tried upgrading my setuptools, but that didnt help. Im open to any solution at this point.

回答1:

You might want to download Microsoft SDK version 8.1 from this website. https://developer.microsoft.com/en-us/windows/downloads/sdk-archive