Skip to content

requirements.txt for the python version #1

@vrescobar

Description

@vrescobar

I try to run on the newest raspberry pi 5 and following the instructions but I encoutnered a few issues

The first error I encounter is with gpiod path which is not found. When I corrected to the full qualified path chip = gpiod.Chip("/dev/gpiochip4") it will continue failing as the API seems to be different

$ python 1.8_ch_Pi5.py
Traceback (most recent call last):
  File "/home/vrescobar/projects/PiEEE-GUI/1.GUI/1.8_ch_Pi5.py", line 18, in <module>
    button_line = chip.get_line(button_pin)
                  ^^^^^^^^^^^^^
AttributeError: 'Chip' object has no attribute 'get_line'. Did you mean: 'get_info'?

Do you have a pip's requirements.txt to make sure the same versions are matched? here are my currently installed deps $ pip freeze

contourpy==1.2.1
cycler==0.12.1
fonttools==4.53.0
gpiod==2.2.0
kiwisolver==1.4.5
matplotlib==3.9.0
numpy==2.0.0
packaging==24.1
pillow==10.3.0
pyparsing==3.1.2
python-dateutil==2.9.0.post0
RPi.GPIO==0.7.1
scipy==1.14.0
six==1.16.0
spidev==3.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions