Can't run the python scripts. Could not open '/dev/i2c-0'


I have a multicamera board v2.2. I followed the documentation online for the C++ file and I could get the preview file working. However, I need the python script because I have other things to control with the raspberry pi, but I cannot get the python scripts to work.

I did the raspi-config for I2C and camera, and also I ran the sudo chmod +x line for the files in the python folder. Please help!

Thank you.

Just to add on, I’m using 2 Raspberry Pi NOIR cameras for camera A and B.


Please run sudo nano /boot/config.txt

Then add dtparam=i2c_vc=on to the end line.

Then reboot