question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

windows 10 - python 3.11.0 - error installing psutil

See original GitHub issue

While I am trying to install psutil on windows 10 with python 3.11.0, I getting the following error Could you direct me to how to resolve it

` __building β€˜psutil._psutil_windows’ extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with β€œMicrosoft C++ Build Tools”: https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for psutil Failed to build psutil ERROR: Could not build wheels for psutil, which is required to install pyproject.toml-based projects__ `

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:15
  • Comments:19 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
cosmic-lattecommented, Nov 8, 2022

If there are no special needs, you can install the old version first and wait for the update. pip install psutil==5.9.3 works for me.

4reactions
giampaolocommented, Nov 8, 2022

This should now be fixed. Please confirm.

~/svn/psutil {master}$ python3 -m twine upload dist/psutil-5.9.4-cp36-abi3-win32.whl  dist/psutil-5.9.4-cp36-abi3-win_amd64.whl 
Uploading distributions to https://upload.pypi.org/legacy/
Uploading psutil-5.9.4-cp36-abi3-win32.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 275.0/275.0 kB β€’ 00:00 β€’ 780.9 kB/s
Uploading psutil-5.9.4-cp36-abi3-win_amd64.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 280.3/280.3 kB β€’ 00:00 β€’ 25.7 MB/s

View at:
https://pypi.org/project/psutil/5.9.4/
Read more comments on GitHub >

github_iconTop Results From Across the Web

Why I do get an error when installing the psutil package for ...
1 Answer 1 Β· Install missing package pip install wheel Β· Install this tools https://visualstudio.microsoft.com/visual-cpp-build-tools/ Β· RestartΒ ...
Read more >
psutil - PyPI
psutil (process and system utilities) is a cross-platform library for retrieving information on running processes and system utilization (CPU, memory,Β ...
Read more >
Possible bug with py.exe launcher in 3.11 - Python Help
I noticed a change with py.exe for Windows in Python 3.11. Example test script - β€œmyscript1.py”: #!/usr/bin/env python3 import sysΒ ...
Read more >
could not build wheels for psutil, which is required to install ...
Refer to: windows 10 - python 3.11.0 - error installing psutil #2165 or Failed to install ipykernel (psutil building wheel not run successfully)...
Read more >
How to Install psutil in Python? - Finxter
To fix the error, install the psutil library using β€œ pip install psutil ” or β€œ pip3 install psutil ” in your operating...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found