salesforce / LAVIS

LAVIS - A One-stop Library for Language-Vision Intelligence
BSD 3-Clause "New" or "Revised" License
9.65k stars 943 forks source link

FileNotFoundError: Package has no location <module 'imageio_ffmpeg.binaries' (namespace)> #709

Open davidhouse2023 opened 3 months ago

davidhouse2023 commented 3 months ago

When I follow the official steps to create the environment and run some examples provided in the project, the following error will be reported: FileNotFoundError: Package has no location<module 'imageio_ffmpeg. binaries' (namespace)>. I'm too depressed. I don't know what's going on, but reinstalling the package doesn't work either. The dependencies don't conflict.

Prakhar-Gupta-03 commented 3 months ago

FileNotFoundError: Package has no location<module 'imageio_ffmpeg. binaries' (namespace)>

@davidhouse2023 I was facing the same issue while setting up my environment. Try downgrading with an older version of PyTorch for this, and then set up the env. I tried working with 2.1.0 version and that worked.

Refer to this