Support Forum

Share your projects and post your questions

Register   or   Sign In
The Forum

Error installing py-spidev

290 Views - Created 28/04/2022


Posted by:

Miker Avatar


CLI dump:

pi@raspberrypi:~ $ git clone
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 install
python3: can't open file '': [Errno 2] No such file or directory
pi@raspberrypi:~ $

Where should '' be located and how should be installed there?


Posted by:

andrew Avatar

United Kingdom

andrew Twitter  andrew Website  

The file should be located in the py-spidev directory in your pi home directory.

If you run the command "cd ~/py-spidev" that should take you to the correct directory. You can then run "sudo python3 install" to install the SPI python module.

Sign in to post your reply

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.