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.

getloadavg() from psutil 5.6.2 crashes on Windows 10 with python 3.7.x

See original GitHub issue

Platform

  • 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:closed
  • Created 4 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
sisalikcommented, Jul 17, 2020

Wow yes, looks like it is! Thanks a lot, you guys are doing a great job 😃

0reactions
ammaraskarcommented, Jul 16, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

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