Numpy Version Requirement
I am using PySpin with Spinnaker SDK. Is there a Numpy version requirement for the PySpin, to ensure PySpin can work smoothly without errors?
-
Please check the NumPy Version Compatibility Notice below:
-----------------------------------------------------------------------------
PySpin requires different NumPy versions depending on your **Python version**:
- **Python < 3.12:** Requires NumPy 1.x (< 2.0)
- **Python 3.12+:** Requires NumPy 2.x (>= 2.0)
This requirement is based on Python version, not on your operating system.
If you need to install or switch to the correct NumPy version:
```sh
# For Python < 3.12 (e.g., Python 3.8, 3.10)
<python version> -m pip install --upgrade "numpy<2.0"
# For Python 3.12 or higher
<python version> -m pip install --upgrade "numpy>=2.0"
```0
Please sign in to leave a comment.
Comments
1 comment