https-deeplearning-ai / machine-learning-engineering-for-production-public

Public repo for DeepLearning.AI MLEP Specialization
Apache License 2.0
1.85k stars 2.36k forks source link

For M1 Mac I had to install ffmpeg@4 to be compatible with the required OpenCV #105

Open mdawas opened 1 year ago

mdawas commented 1 year ago

The OpenCV 4.5.3 depends on ffmpeg v.4 as it looks for file libavcodec.58.dylib specifically. As I am running the server notebook of course1-week1 ungraded lab after two years of its introduction, the current ffmpeg version is 6 where the file mentioned above does not exist anymore. It would be great if this info is added to the env setup instructions so that people install the correct required version of ffmpeg right away. https://github.com/https-deeplearning-ai/machine-learning-engineering-for-production-public/blob/main/course1/week1-ungraded-lab/server.ipynb

See resource for required ffmpeg version: https://www.linuxfromscratch.org/blfs/view/11.0-systemd/general/opencv.html

ayalf commented 11 months ago

Do you mean we should have the v4 installed in the Mac ? Did you follow the exact instructions and it worked because I am having some issues with that ?

I would love to ask you gif you have more details, please contact me in the following email: ayat.aya.aa@gmail.com Thank you!