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

unable to import FER from fer #55

Open
Priyavrat13 opened this issue Feb 12, 2023 · 3 comments
Open

unable to import FER from fer #55

Priyavrat13 opened this issue Feb 12, 2023 · 3 comments

Comments

@Priyavrat13
Copy link

While running 'from fer import FER' command
getting error: 'imageio.ffmpeg.download() has been deprecated. Use 'pip install imageio-ffmpeg' instead.''

@JustinShenk
Copy link
Owner

Which version of FER are you using? Try pip install -U fer to get the latest version.

@oerzn
Copy link

oerzn commented Feb 14, 2023

hello,

Yes, I tried "pip install -U fer" and "pip install imageio-ffmpeg" also still it is giving an error.

below is the error output.

RuntimeError Traceback (most recent call last)
in
----> 1 from fer import FER
2 import cv2
3
4 img = cv2.imread("image.jpeg")
5 detector = FER()

3 frames
[/usr/local/lib/python3.8/dist-packages/imageio/plugins/ffmpeg.py] in download(directory, force_download)
35
36 def download(directory=None, force_download=False): # pragma: no cover
---> 37 raise RuntimeError(
38 "imageio.ffmpeg.download() has been deprecated. "
39 "Use 'pip install imageio-ffmpeg' instead.'"

RuntimeError: imageio.ffmpeg.download() has been deprecated. Use 'pip install imageio-ffmpeg' instead.'

@JustinShenk
Copy link
Owner

Any update on this?

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

3 participants