Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NumPy Deprecation Issues and Installation Failures in scikit-video #388

Open
CHRISmorang opened this issue Feb 11, 2025 · 1 comment
Open

Comments

@CHRISmorang
Copy link
Contributor

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`.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@CHRISmorang and others