In Google Colab, the scikit-video package currently faces compatibility issues with newer versions of NumPy, leading to deprecation warnings and installation failures.
Additionally, attempting to downgrade NumPy (e.g., numpy==1.16.0) fails with the following error:
Building wheels for collected packages: numpy
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
This prevents users from forcing an older NumPy version as a workaround.
Steps to Reproduce
1️⃣Install an older version of NumPy in Google Colab
!pip3 install numpy==1.16.0
Error:
Building wheels for collected packages: numpy
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
2️⃣ Install scikit-video
!pip install scikit-video
Error: NumPy deprecation warnings due to usage of np.float, np.int, np.bool.
3️⃣ Run a script using scikit-video
import skvideo.io
video_data = skvideo.io.vread("sample.mp4")
Warning Output:
DeprecationWarning: `np.float` is a deprecated alias for the built-in `float`.
In Google Colab, the
scikit-videopackage currently faces compatibility issues with newer versions of NumPy, leading to deprecation warnings and installation failures.Additionally, attempting to downgrade NumPy (e.g.,
numpy==1.16.0) fails with the following error:This prevents users from forcing an older NumPy version as a workaround.
Steps to Reproduce
1️⃣Install an older version of NumPy in Google Colab
!pip3 install numpy==1.16.0Error:
2️⃣ Install
scikit-video!pip install scikit-videoError: NumPy deprecation warnings due to usage of
np.float,np.int,np.bool.3️⃣ Run a script using
scikit-videoWarning Output: