I am having trouble connecting my OAK-1 PoE with my Raspberry Pi 5. I have installed the dependencies for Linux and Raspberry Pi OS.
- sudo wget -qO- https://docs.luxonis.com/install_dependencies.sh | bash

- sudo curl -fL https://docs.luxonis.com/install_dependencies.sh | bash

I have cloned the depthai-python repository.

- git clone luxonis/depthai-python.git

I'm using the miniforge3 conda virtual environment to install.

- python3 install_requirements.py

However, when I try to run, python3 ColorCamera/rgb_preview.py, I get an error - ModuleNotFoundError: No module named 'depthai'.

Even when I try to "Install from source" under the "Other installation methods" I run into the same error.

Am I possibly using the wrong version of PIP? should I try wiping/uninstalling everything that I have already installed and try again? I've felt like I have tried everything and still for some reason can't figure it out.

Hi @izaac08
Conda is sometimes funny like that.

try:

  • which python3 and which python. One might point to base python, other to anaconda env python
  • python -m pip to select the correct pip based on above python or python3 (whichever is correct).

That should do it.

Thanks,
Jaka

When I try which python3 and which python, they both point to the anaconda env python, should it be pointing to my base python?

    izaac08
    No, that's fine.

    Can you post the output of this: python3 install_requirements.py

    Thanks,
    Jaka