-
Notifications
You must be signed in to change notification settings - Fork 972
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
Build issues with decord for Mac with Python 3.9+ #15
Comments
Hi @jhwang7628 , Thanks for your interest. Can you install decord if removing the requirement on its versions? E.g. decord>=0.6.0 into decord in requirement-dev.txt. Thanks. |
@dxli94 That didn't work for me. I even tried downgrading to python 3.8 and python 3.7, but kept getting the same issue. I'm on an M1 Mac. How can I fix this? |
ERROR: Could not find a version that satisfies the requirement decord (from versions: none) |
is it solved ? |
Obviously not a viable long-term solution, but if all you (or anyone else coming here) want to do is just calling BLIP to do e.g. image captioning, you can clone the repo, comment out the decord imports in |
Mac, M1 I have met and solved this problem like this: |
This worked for getting past the decord error. Especially for running the colab notebook example in LAVIS's Homepage on github |
This worked wonders, Thanks @hiwgy |
I tried this and it worked successfully until I hit a dependency issue with LAVIS. LAVIS requires open3d==0.13.0 which is only supported by python 3.6, 3.7, and 3.8 (see docs). I tried to downgrade to python 3.8, but decode requires >= python 3.9. Thus, stuck in a dependency loop. Will keep exploring and update if I find anything. For reference, I am running python 3.11.2 on an M1 Pro Mac. PS - if you have ffmpeg@5 installed, you need to overwrite the homebrew symlink. |
Just to update on this, I finally got lavis to install. What worked for me was this:
|
Decord is listed as a dependency but there is no prebuilt binaries for Mac above Python 3.8 (see issues here). This means Mac users of LAVIS effectively have to stay below 3.8. Can we get rid of Decord and replace it with something that's more well-maintained?
The text was updated successfully, but these errors were encountered: