If you intend to use robotpy-photonvision in your robot tests or via the pyfrc simulator, you must install this package locally. It is recommended to install using the robotpy meta package:
Windows
py -3 -m pip install -U robotpy[photonvision]
Linux/macOS
pip3 install -U robotpy[photonvision]
Even if you have robotpy-photonvision installed locally, you must install it on your robot separately. See below.
You really don't want to compile this yourself, so don't download this from pypi and install it. Use the RobotPy installer and run the following on your computer while connected to the internet:
Windows
py -3 -m robotpy_installer download -U robotpy[photonvision]
Linux/macOS
robotpy-installer download -U robotpy[photonvision]
Then, when connected to the roborio's network, run:
Windows
py -3 -m robotpy_installer install robotpy[photonvision]
Linux/macOS
robotpy-installer install robotpy[photonvision]
For additional details about running robotpy-installer on your computer, see the robotpy-installer documentation <install_packages>
.