rosswarren / epevermodbus

Python library for communicating with EPever solar charge controllers
MIT License
43 stars 18 forks source link

syntax error on raspberry pi 4 #1

Closed RonGroen closed 2 years ago

RonGroen commented 2 years ago

Everything installed: pip install epevermodbus

python --version

Python 3.7.3 Running gives: epevermodbus -h Traceback (most recent call last): File "/usr/local/bin/epevermodbus", line 6, in from epevermodbus.command_line import main File "/usr/local/lib/python2.7/dist-packages/epevermodbus/command_line.py", line 18 print(f"Solar voltage: {controller.get_solar_voltage()}V") ^ SyntaxError: invalid syntax On raspberry Phyton 2 and 3 are installed. How do I install epevermodbus on python3?

RonGroen commented 2 years ago

solved install with: pip3 install epevermodbus

rosswarren commented 2 years ago

Thank you @RonGroen I will update the README to clarify this a bit more