Unable to install SPIDEV python library

Unable to install SPIDEV python library,Already updated .

Error on “pip install spidev” -

unable to execute 'arm-angstrom-linux-gnueabi-gcc': No such file or directory
error: command 'arm-angstrom-linux-gnueabi-gcc' failed with exit status 1

Dear @rajat7693,

Greetings and thank you for contacting Toradex community!

Could you please kindly provide us more information:

  • Could you tell us what you mean “Already Updated”? Could you tell us how you have updated it?
  • What was the procedure you tried to install the SPIDEV python libraray? (If there’s any reference link or article that you followed please kindly link us to that)
  • could you tell us the uname -a information?

Thanks and Kind regards,

It’s not very convenient to install python spidev library under angstrom-linux. You can try two ways:

  1. Build your customize disto image using openembedded from Toradex with python-spidev(python3-spidev) added. Since it’s very time consuming, if you are making little demo, it’s not very recommonded.

  2. Use torizon and install python-spidev(python3-spidev) package in debian container. It’s not that difficult and time consuming. You can follow the two articles to do this, link text and link text

I recommond the second option.