Code Monkey home page Code Monkey logo

Comments (5)

Gadgetoid avatar Gadgetoid commented on June 15, 2024

I could have sworn I made/released this fix in cap1xxx. See: https://pypi.org/project/Cap1xxx/

Can you run:

python3 -m pip freeze | grep cap1xxx

And let me know if you're on v0.1.4?

from displayotron.

mmozzano avatar mmozzano commented on June 15, 2024

It isnt listed as an installed library when I run the above.

I do see your updated code change in the Cap1xxx library but that isnt reflected in what was pulled down when I ran the install script a few hours ago.

from displayotron.

AmadeusW avatar AmadeusW commented on June 15, 2024

I ran into the same issue on a brand new installation of RPi.
@mmozzano I was able to upgrade Cap1xxx only when explicitly specifying the version. Note that sudo pip install Cap1xxx didn't accomplish anything

pi@bench:~/Pimoroni/explorerhat/examples $ python --version
Python 3.9.2

pi@bench:~/Pimoroni/explorerhat/examples $ pip show Cap1xxx
Name: Cap1xxx
Version: 0.1.3
Summary: A module to drive various Microchip cap1xxx touch ICs
Home-page: http://shop.pimoroni.com
Author: Philip Howard
Author-email: [email protected]
License: MIT
Location: /usr/lib/python3/dist-packages
Requires: RPi.GPIO
Required-by: ExplorerHAT

pi@bench:~/Pimoroni/explorerhat/examples $ sudo pip install Cap1xxx
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: Cap1xxx in /usr/lib/python3/dist-packages (0.1.3)
Requirement already satisfied: RPi.GPIO in /usr/lib/python3/dist-packages (from Cap1xxx) (0.7.0)

pi@bench:~/Pimoroni/explorerhat/examples $ sudo pip install Cap1xxx==0.1.4
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting Cap1xxx==0.1.4
  Downloading https://www.piwheels.org/simple/cap1xxx/Cap1xxx-0.1.4-py3-none-any.whl (8.5 kB)
Requirement already satisfied: RPi.GPIO in /usr/lib/python3/dist-packages (from Cap1xxx==0.1.4) (0.7.0)
Installing collected packages: Cap1xxx
  Attempting uninstall: Cap1xxx
    Found existing installation: Cap1xxx 0.1.3
    Not uninstalling cap1xxx at /usr/lib/python3/dist-packages, outside environment /usr
    Can't uninstall 'Cap1xxx'. No files were found to uninstall.
Successfully installed Cap1xxx-0.1.4

from displayotron.

mmozzano avatar mmozzano commented on June 15, 2024

Looks like the command I was running to get the version of Cap1xxx was wrong - I was using lower case c.

@pi-red-coupe:~ $ python3 -m pip freeze | grep Cap1xxx
Cap1xxx==0.1.4

So I now have 0.1.4.

I uninstalled and then reinstalled the package by:

pip install Cap1xxx==0.1.4

And its working fine. I suspect this can be closed now as the correct code is coming down now.

from displayotron.

Gadgetoid avatar Gadgetoid commented on June 15, 2024

I've shipped a new displayotron library that depends upon cap1xxx>=0.1.4 Should solve this!

from displayotron.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.