0

So I am working on a project turning a Raspberry Pi and an MCP3008 chip into a voltage meter. A bunch of the examples I was working off of used the code for the chip put out my Adafruit that can be found on their github. A problem I noticed is that when running my Python code through Python 3 as opposed to Python 2, I get the error:

ImportError: No module named 'RPi.SPI'

This is an error coming from the package of Adafruit code for import Adafruit_MCP3008

Does anyone have a work around or is this something I'll have to live with? Most of the other code I made for this project runs on Python 3 so I am not sure if I am going to have version errors (I'm using PySerial 3.3 for a different part of the project, as well as I made the interface to work with Python3 tkinter)

Skitzafreak
  • 237
  • 1
  • 5
  • 12

0 Answers0