2.17 MLHub on MacOS

20240308

(The material here was originally provided by Ting Tang.)

MLHub generally runs just fine on MacOS. However you will need to install some dependencies yourself using brew. Ubuntu uses apt-get to install, so if you see errors relating to apt-get try running the relevant install command replacing apt-get with brew.

pip install mlhub
ml configure

This generally immediately returns and undertakes no configurations. On package that should be manually installed is pandoc:

brew search pandoc
brew info pandoc
brew install pandoc

You may be confronted with errors like the following for system dependencies:

% ml configure openai

*** Installing the following system dependencies:

  ffmpeg

Do you want to install ffmpeg [Y/n]? Y

Password:
mlhub: An error was encountered:
sudo: apt-get: command not found

The solution is to install the packages using brew:

brew search ffmpeg
brew install ffmpeg

During the configure note that pip installs should be just fine.



Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0