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

Update README: Warn users about unsupported dependency versions in Linux package managers #128

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

duoduo70
Copy link

@duoduo70 duoduo70 commented Oct 8, 2024

This pull request updates the README to inform users about a potential issue with Linux package managers automatically installing newer versions of dependencies that are not supported by the software. By adding this information, we aim to prevent compatibility issues and improve user experience when setting up the software on Linux systems. I noticed several issues raised by users reporting similar problems (ERROR -9998), which also occurred on my machine. The error message was vague, and it took some time to identify the root cause. This issue seems more prevalent in aggressive package managers like those in ArchLinux.

@homelab-00
Copy link
Contributor

Correct me if I'm wrong here, but your changes are only about ffmpeg which in my experience isn't actually needed to run. I had ffmpeg 7 installed on my windows machine (which IIRC isn't supported by pytorch yet) and while I got warnings (even when I installed ffmpeg 6 or ffmpeg 5) the script still ran fine.

I do agree with your overall point though, in that some packages need to be a specific version (or range of versions) and not the latest for the script to run properly. Learned it the hard way by mindlessly doing conda update --all.

@duoduo70
Copy link
Author

duoduo70 commented Oct 9, 2024

even when I installed ffmpeg 6 or ffmpeg 5

Based on my testing, the script runs smoothly when both FFmpeg7 and FFmpeg6 are installed, but fails if only FFmpeg7 is present. On my Linux system, the script attempts to load libavutil.so.58 (FFmpeg6), libavutil.so.57 (FFmpeg5), and libavutil.so.56 (FFmpeg4) simultaneously, but doesn't try to load libavutil.so.59 (FFmpeg7). I can't speak to how it behaves on Windows, as I don't use that.

Also I don't know how to run the program without FFmpeg

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

Successfully merging this pull request may close these issues.

2 participants