-

CommentStreams:F5df329690f9375f56fd32da00e8d106

From Geekworm Wiki
< X735 Software
Revision as of 15:44, 19 July 2021 by 187.75.40.132 (talk) (Migrated comment #1682)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

When I execute the command line below occurr error:

sudo python /home/admin/x735-v2.5/read_fan_speed.py&

admin@raspberrypi:~ $ File "/home/admin/x735-v2.5/read_fan_speed.py", line 33

   print "%.f RPM" % rpm
                 ^

SyntaxError: Missing parentheses in call to 'print'. Did you mean print("%.f RPM" % rpm)?

[1]+ Exit 1 sudo python /home/admin/x735-v2.5/read_fan_speed.py


I solved the problem. I changed command print to :

print("%.f RPM" % rpm)