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

Installer does not use the most recent release #52

Closed
AmadeusW opened this issue Mar 4, 2022 · 3 comments
Closed

Installer does not use the most recent release #52

AmadeusW opened this issue Mar 4, 2022 · 3 comments

Comments

@AmadeusW
Copy link

AmadeusW commented Mar 4, 2022

I followed instructions to install explorer-hat on a fresh raspi image (Bullseye version, kernel 5.10.92-v7+)

At runtime, it failed with AttributeError: 'AsyncWorker' object has no attribute 'isAlive' which has been fixed in #50

It looks like the default installation does not use version 0.5.1. explorerhat is already installed (v0.4.2) and therefore it's not updated. Perhaps it would make sense to add a flag to the installer to force an upgrade?

I fixed this with pip install --force-reinstall explorerhat==0.5.1 which upgraded explorerhat-0.5.1 and cap1xxx-0.1.4

@Gadgetoid
Copy link
Member

pip install --upgrade explorerhat should also work, but you're right- this is an oversight and I think it applies to all of our installer scripts 😬

Gadgetoid added a commit that referenced this issue Mar 16, 2022
* Drop references to Python 2
* Emphasize need to enable i2c for #48, #46
@Gadgetoid
Copy link
Member

Updated the README to clarify this, and also updated the installer to use --upgrade so that it fetches the latest version if there's one already installed.

@RobertJN64
Copy link

This should also be updated on the PyPI description, it is still pointing users to the apt-get installer which installs an older version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants