Error installing py-spidev
The ADC-DAC Pi Zero is a 2 Channel ADC and 2 Channel DAC for the Raspberry Pi
28/04/2022
Posted by:
Miker
pi@raspberrypi:~ $ git clone https://github.com/doceme/py-spidev.git
Cloning into 'py-spidev'...
remote: Enumerating objects: 251, done.
remote: Counting objects: 100% (28/28), done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 251 (delta 12), reused 9 (delta 3), pack-reused 223
Receiving objects: 100% (251/251), 91.45 KiB | 227.00 KiB/s, done.
Resolving deltas: 100% (137/137), done.
pi@raspberrypi:~ $ sudo python3 setup.py install
python3: can't open file 'setup.py': [Errno 2] No such file or directory
pi@raspberrypi:~ $
Where should 'setup.py' be located and how should be installed there?
28/04/2022
Posted by:
andrew
If you run the command "cd ~/py-spidev" that should take you to the correct directory. You can then run "sudo python3 setup.py install" to install the SPI python module.
Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view.
Download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.