Spidev module not found

I’ve downloaded spidev from [spidev · PyPI], but when I run my Python project that utilizes “import spidev”, it gives me:

ImportError: No module named spidev

We’ve run sudo modprobe spidev and it seems fine. We also ran pip3 install spidev and it successfully installed spidev-3.5

I think the issue might be the location of spidev. We don’t know where to put the download. If the location is the issue, can someone point us to under which files directory we should put it under?

The Python version on our Nano is the preinstalled 3.6.9.

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Did you see the /dev/spidev*.* ?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.