-
Notifications
You must be signed in to change notification settings - Fork 980
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
Error installing: salesforce-lavis 1.0.2 depends on decord #231
Comments
Hi, @shakedzy I met the same error onM1 Macbook with Python 3.18.16. I did some search and found that it's because the decord does not support M1 chip. See here: dmlc/decord#225 I am afraid it just does not work to install lavis on M1 chip Macbook |
same here. it depends on decord and not possible to install |
Seems like the open issue on decord is from 08/2022, so I guess this isn't getting fixed any time soon.. |
I'm on Intel, not M1, but it's possible you could try to install from source?
You may need to change some source code as shown here: dmlc/decord#186 (comment) |
Hello, for anyone landing here, this is how i temporarily fixed this annoying issue. I am using python 3.10 on Intel macOS, but it looks like there are no wheels for decord for my python version (up to 3.8). Then, I tried to I changed the filename to Afterwards I ran Note: I tried to install decord from source: no success. |
If you install from source, you need to change the source code itself because you likely have an incompatible ffmpeg (v5 instead of v4). |
For Apple Silicon try (https://github.com/georgia-tech-db/eva-decord): diff --git a/requirements.txt b/requirements.txt
index 247190d..05a3e7d 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,5 +1,5 @@
contexttimer
-decord
+eva-decord
einops>=0.4.1
fairscale==0.4.4
ftfy and build with |
I was able to run the Zoo on ARM 64 Ubuntu Linux / Python 3.9 after doing the following steps. I have not tried anything else yet.
Example code:
|
* fixed salesforce#231 salesforce#291 MacOS compatibility * edited README.md
I had to make a small change above because it was still breaking on my M1 with Python3.10 because of the version specified for open3d in requirements ( diff --git a/requirements.txt b/requirements.txt
index 247190d..05a3e7d 100644
--- a/requirements.txt
+++ b/requirements.txt
-open3d==0.13.0
+open3d and build with |
I'm trying to pip install lavis, but keeps getting this:
When trying to run
pip install decord
I get:I tried this on new virtual-envs using Python 3.11, 3.10 and 3.8 on an M1 mac.
The text was updated successfully, but these errors were encountered: