Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error encountered when upgrading rpi-deep-pantilt #35

Open
TCIII opened this issue Jun 5, 2020 · 3 comments
Open

Error encountered when upgrading rpi-deep-pantilt #35

TCIII opened this issue Jun 5, 2020 · 3 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@TCIII
Copy link

TCIII commented Jun 5, 2020

*pi-deep-pantilt version: 1.1.0
Python version: 3.7.3
TensorFlow version: 2.0.0
Operating System: Raspbian Buster Desktop on Rpi 4B+ w/4GB RAM

Description

When I attempted to upgrade rpi-deep-pantilt to version 1.2.0, the upgrade failed.

What I Did

(.venv) pi@raspberrypi:~/rpi-deep-pantilt $ python3 -m pip install --upgrade rpi-deep-pantilt
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting rpi-deep-pantilt
Using cached rpi_deep_pantilt-1.2.0-py2.py3-none-any.whl (30 kB)
Requirement already satisfied, skipping upgrade: smbus; platform_machine == "armv7l" in ./.venv/lib/python3.7/site-packages (from rpi-deep-pantilt) (1.1.post2)
Requirement already satisfied, skipping upgrade: pillow in ./.venv/lib/python3.7/site-packages (from rpi-deep-pantilt) (7.0.0)
Requirement already satisfied, skipping upgrade: Click>=7.0 in ./.venv/lib/python3.7/site-packages (from rpi-deep-pantilt) (7.1.1)
Requirement already satisfied, skipping upgrade: h5py in ./.venv/lib/python3.7/site-packages (from rpi-deep-pantilt) (2.10.0)
ERROR: Could not find a version that satisfies the requirement tensorflow>=2.2.0 (from rpi-deep-pantilt) (from versions: 0.11.0, 1.12.0, 1.13.1, 1.14.0)
ERROR: No matching distribution found for tensorflow>=2.2.0 (from rpi-deep-pantilt)

I assume that TensorFlow needs to be updated to version 2.2.0 or greater since that is what the rpi-deep-pantilt upgrade is requesting?

Regards,
TCIII

@TCIII
Copy link
Author

TCIII commented Jun 5, 2020

Okay, went back to the README.md and found this CLI string: pip install https://github.com/leigh-johnson/Tensorflow-bin/releases/download/v2.2.0/tensorflow-2.2.0-cp37-cp37m-linux_armv7l.whl
which I successfully used to uninstall tensorflow 2.0.0 and associated components and install 2.2.0 and associated components.

I then was able to successfully upgrade rpi-deep-pantilt to 1.2.0 using: pip install --upgrade rpi-deep-pantilt without encountering any errors.

Regards,
TCIII

@TCIII TCIII closed this as completed Jun 5, 2020
@leigh-johnson
Copy link
Member

Sorry that you had to dig for info @TCIII

I'm going to re-open this issue as a reminder to add an explicit section on upgrading to the Readme.

@leigh-johnson leigh-johnson reopened this Jun 5, 2020
@leigh-johnson leigh-johnson added documentation Improvements or additions to documentation good first issue Good for newcomers labels Jun 5, 2020
@TCIII
Copy link
Author

TCIII commented Jun 5, 2020

@leigh-johnson,

No problem. I am good at Arduino C++, but still learning to deal with Python commands and programming so it was a good exercise for me.

I really like the additional options added to the command line especially the ability to rotate the pi camera image in detect and tracking.

Regards,
TCIII

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants