Hi,over here I get identical output. The only passibility I can think of is, that the eric terminal uses a different Python environment with a different psutil package version than the standard terminal.
Regards, Detlev Am 20.01.23 um 00:03 schrieb Mick Sulley:
Hi Detlev,I have just noticed that I have different output running code in Eric vs terminalThis is the code - #!/usr/bin/python3 import psutil dat = psutil.sensors_temperatures() print(f'dat = {dat}') The output if I run it in Eric - Python 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0] on DeskMint21 [eric_environment]>>> dat = {'acpitz': [shwtemp(label='', current=27.8, high=106.0, critical=106.0), shwtemp(label='', current=29.8, high=106.0, critical=106.0)], 'coretemp': [shwtemp(label='Package id 0', current=48.0, high=85.0, critical=105.0), shwtemp(label='Core 0', current=48.0, high=85.0, critical=105.0), shwtemp(label='Core 1', current=47.0, high=85.0, critical=105.0), shwtemp(label='Core 2', current=36.0, high=85.0, critical=105.0), shwtemp(label='Core 3', current=39.0, high=85.0, critical=105.0)]}>>> The output in a terminal - pi@pi-porch:~/v16_2 $ python3 temp.pydat = {'cpu_thermal': [shwtemp(label='', current=37.552, high=None, critical=None)]}pi@pi-porch:~/v16_2 $I don't understand why it is different. Is there something wrong or have I misunderstood something?Thanks Mick
-- Detlev Offenbach det...@die-offenbachs.de
OpenPGP_0xBD1F26A5DA8A6150.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature