ironsheep / RPi-Reporter-MQTT2HA-Daemon

Linux service to collect and transfer Raspberry Pi data via MQTT to Home Assistant (for RPi Monitoring)
GNU General Public License v3.0
442 stars 62 forks source link

ERROR: No matching distribution found for apt>=0.7.8 #88

Closed djamelinfo closed 1 year ago

djamelinfo commented 1 year ago

Checklist:

Release with the issue:

Last working release (if known):

Hardware, Operating System, Python version:

Python errors shown in the logs (if applicable):

pi@picam:/opt/RPi-Reporter-MQTT2HA-Daemon $ sudo pip3 install -r requirements.txt
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: paho-mqtt>=1.4.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 2)) (1.5.1)
Requirement already satisfied: wheel>=0.29.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 3)) (0.34.2)
Requirement already satisfied: sdnotify>=0.3.1 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 4)) (0.3.1)
Requirement already satisfied: Unidecode>=0.4.21 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 5)) (1.2.0)
Requirement already satisfied: colorama>=0.4.3 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 6)) (0.4.4)
Requirement already satisfied: tzlocal>=2.1.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 7)) (2.1)
Collecting requests>=2.28.2
  Using cached https://www.piwheels.org/simple/requests/requests-2.28.2-py3-none-any.whl (62 kB)
ERROR: Could not find a version that satisfies the requirement apt>=0.7.8
ERROR: No matching distribution found for apt>=0.7.8

Additional information: image

ironsheep commented 1 year ago

well, huh! Yep, I expected the package to exist and pip3 can't find any at all.

I'm removing this and changing the instructions to install this by hand if it's wanted.

Thanks for reporting this!

bsimmo commented 1 year ago

Pip wouldn't find apt. apt (a newer apt-get) is an OS program, not a python module.

On Wed, 1 Mar 2023, 9:58 pm Stephen Moraco, @.***> wrote:

well, huh! Yep, I expected the package to exist and pip3 can't find any at all.

I'm removing this and changing the instructions to install this by hand if it's wanted.

Thanks for reporting this!

— Reply to this email directly, view it on GitHub https://github.com/ironsheep/RPi-Reporter-MQTT2HA-Daemon/issues/88#issuecomment-1450904951, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYAXN3GZKICI4GPSVHZB6DWZ7BADANCNFSM6AAAAAAVL4236M . You are receiving this because you are subscribed to this thread.Message ID: @.*** com>

bsimmo commented 1 year ago

Unless you mean https://packages.debian.org/bullseye/python3-apt

On Wed, 1 Mar 2023, 9:58 pm Stephen Moraco, @.***> wrote:

well, huh! Yep, I expected the package to exist and pip3 can't find any at all.

I'm removing this and changing the instructions to install this by hand if it's wanted.

Thanks for reporting this!

— Reply to this email directly, view it on GitHub https://github.com/ironsheep/RPi-Reporter-MQTT2HA-Daemon/issues/88#issuecomment-1450904951, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYAXN3GZKICI4GPSVHZB6DWZ7BADANCNFSM6AAAAAAVL4236M . You are receiving this because you are subscribed to this thread.Message ID: @.*** com>

ironsheep commented 1 year ago

@bsimmo yep. See: https://github.com/ironsheep/lovelace-rpi-monitor-card/issues/49

ironsheep commented 1 year ago

Changes committed, and appear in v1.8.3 and later