Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Wheels for psutil with Python 3.10.0 raising Errors #2008

Closed
Yuvaraja28 opened this issue Oct 30, 2021 · 3 comments
Closed

Building Wheels for psutil with Python 3.10.0 raising Errors #2008

Yuvaraja28 opened this issue Oct 30, 2021 · 3 comments

Comments

@Yuvaraja28
Copy link

Summary

  • OS: Windows-10-10.0.19042-SP0
  • Architecture: 64bit
  • Python version: 3.10.0
  • Type: wheels, installation

Description

When trying to Pip install shows error in Building wheels

@Yuvaraja28 Yuvaraja28 added the bug label Oct 30, 2021
@Yuvaraja28 Yuvaraja28 changed the title [OS] title Wheels Building Error with Python 3.10.0 Oct 30, 2021
@Yuvaraja28 Yuvaraja28 changed the title Wheels Building Error with Python 3.10.0 Building Wheels for psutil with Python 3.10.0 raising Errors Oct 30, 2021
@ashtacore
Copy link

ashtacore commented Nov 5, 2021

I was having an issue building the wheel as well on Windows Server 2019. I installed the MS build tools but got the error: C:\Program Files\Python310\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory

I found this answer on SO https://stackoverflow.com/a/50210015/13443483 and added the windows SDK through the Visual Studio installer. I meant to click on the latest version of the Windows 10 SDK, but accidentally selected the Windows 11 SDK. However after it finished installing I reran pip install psutil and it was able to successfully build the wheel.

Hope this helps in your debugging.

@Yuvaraja28
Copy link
Author

Is there anyother way instead of downloading Visual Studio Installer in Windows??

@ashtacore
Copy link

You can download the Windows SDK here: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/ and the MS 2015 build tools can be installed here: https://www.microsoft.com/en-us/download/details.aspx?id=48159

Hope that works for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants