Closed AndyRPH closed 5 years ago
More verbose error log:
pi@rpisink:~ $ pip install solaredge-local -vvv Converted retries value: Retry(total=5, connect=None, read=None, redirect=None) -> Retry(total=Retry(total=5, connect=None, read=None, redirect=None), connect=None, read=None, redirect=None) Converted retries value: Retry(total=5, connect=None, read=None, redirect=None) -> Retry(total=Retry(total=5, connect=None, read=None, redirect=None), connect=None, read=None, redirect=None) Collecting solaredge-local 2 location(s) to search for versions of solaredge-local:
Looks like you're using python 2.7. Can you try with python 3? I should have documented that.
Ah, yeah just a stock raspbian image. Python 3 worked. Thanks!
Getting errors when I try to install it.
pi@rpisink:~ $pip install solaredge-local Collecting solaredge-local Downloading https://files.pythonhosted.org/packages/ff/f1/e467c9c90d5d25cc2e4ce3c5ef27297f13bda623edab1fd2fef7748f4644/solaredge_local-0.1.1.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in
File "/tmp/pip-build-18A4IY/solaredge-local/setup.py", line 8, in
import solaredge_local
File "solaredge_local/init.py", line 1, in
from solaredge_local.solaredge import SolarEdge
File "solaredge_local/solaredge.py", line 7
def get_status(self) -> Status:
^
SyntaxError: invalid syntax
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-18A4IY/solaredge-local/ pi@rpisink:~ $