workhorsy / py-cpuinfo

A module for getting CPU info with pure Python
MIT License
312 stars 59 forks source link

py-cpuinfo returning blank dictionary under get_cpu_info() #198

Open UndergradSchimmel opened 1 year ago

UndergradSchimmel commented 1 year ago

Hello! I am running on a laptop with an i5-10300H on Windows 11 with python 3.10.4 and py-cpuinfo 9.0.0. While creating a program that gathers and displays system specifications.

That program isn't necessary to have this issue- so I will replicate a program that still gives the same result.

from py-cpuinfo import get_cpu_info info = get_cpu_info()

print(info)

(This program would just return {} or an empty dictionary)

The py-cpuinfo module is just the standard pip distribution. :/

(I additionally just updated py-cpuinfo from one of the 8.0.0 versions which worked- if that helps.)

lgicc commented 4 days ago

Same issue here, I will try to downgrade to 8.

lgicc commented 4 days ago

Didnt worked. inside my the python trio library it just returns {}