CommentStreams:F5df329690f9375f56fd32da00e8d106

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)