jmccrohan / pysolarmanv5

A python module to interact with Solarman Data Logging Sticks
MIT License
123 stars 25 forks source link

unable to install on raspberry pi #3

Closed Woodpeckercz closed 2 years ago

Woodpeckercz commented 2 years ago

Hi,

I'm getting an error when I try to install this on my raspberry pi. Any advice? thanks.

_pip install . Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Processing /home/pi/pysolarmanv5 Complete output from command python setup.py egginfo: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-req-build-t1Arv7/setup.py", line 3, in with open("README.md", "r", encoding="utf-8") as fh: TypeError: 'encoding' is an invalid keyword argument for this function

Woodpeckercz commented 2 years ago

when I try to install using pip install pysolarmanv5 i get this:

pip install pysolarmanv5 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting pysolarmanv5 Could not find a version that satisfies the requirement pysolarmanv5 (from versions: ) No matching distribution found for pysolarmanv5

jmccrohan commented 2 years ago

Hi,

Can you provide a bit more info please? The package installs fine for me (Raspberry Pi Zero W running OpenWrt):

root@host:~# grep -i model /proc/cpuinfo 
model name  : ARMv6-compatible processor rev 7 (v6l)
Model       : Raspberry Pi Zero W Rev 1.1
root@host:~# python --version
Python 3.9.2
root@host:~# pip install pysolarmanv5
Collecting pysolarmanv5
  Downloading pysolarmanv5-2.3.0-py3-none-any.whl (6.6 kB)
Requirement already satisfied: umodbus in /usr/lib/python3.9/site-packages (from pysolarmanv5) (1.0.4)
Requirement already satisfied: pyserial~=3.4 in /usr/lib/python3.9/site-packages (from umodbus->pysolarmanv5) (3.4)
Installing collected packages: pysolarmanv5
Successfully installed pysolarmanv5-2.3.0
root@host:~# 

Are you running Python 3.8+?

Regards, Jon

jmccrohan commented 2 years ago

No response. Closing.