getloadavg() from psutil 5.6.2 crashes on Windows 10 with python 3.7.x
See original GitHub issuePlatform
- psutil 5.6.2
- Python 3.7.1 x32 or Python 3.7.3 x32
- Operating System Windows 10 Pro Build 1809 (Build 17763.437) German Languange
Bug description Using the function psutil.getloadavg() introduced here https://github.com/giampaolo/psutil/pull/1485 kills the interpreter:
import psutil
a = psutil.getloadavg()
Wait a couple of seconds and Python will say quietly good bye
The problem does not show
- on Windows Server 2012 R2 using either Python 3.5.2 and 3.6.6
- Windows 10 build 1607 with Python 3.6.6 and even 3.7.3 x64
I think it’s a combination between Windows 10 Build 1809 (German language) and Python 3.7.x
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
ANN: psutil 5.6.2 with getloadavg() on Windows released
Hello all, I'm glad to announce the release of psutil 5.6.2: https://github.com/giampaolo/psutil About ===== psutil (process and system ...
Read more >psutil documentation — psutil 5.9.5 documentation
psutil (python system and process utilities) is a cross-platform library for retrieving information on running processes and system utilization (CPU, memory, ...
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, disks, ...
Read more >DLL load failed: The specified procedure could not be found ...
I am trying to use psutil in python. ... said that it was because of win10), so I used this instead. ... Menu\\Programs\\Python...
Read more >View All Attachments for Bug 707768 - Gentoo's Bugzilla
Portage 2.3.86 (python 3.6.10-final-0, default/linux/amd64/17.1/desktop, ... /gcc-data/x86_64-pc-linux-gnu/9.2.0/man:/usr/share/binutils-data/x86_64-pc- ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Wow yes, looks like it is! Thanks a lot, you guys are doing a great job 😃
Thank you so much for the crash dump @sisalik, would you mind giving the latest release a shot and see if the problem is gone? https://pypi.org/project/psutil/#history