Help installing Butterflow

David Herron david at davidherron.com
Mon Apr 20 16:43:39 UTC 2020


In my experience it's possible to use Homebrew and MacPorts on the same
computer.  In my case I primarily use MacPorts but have a couple things
installed using Homebrew.  Mostly when I install something with Homebrew,
it's because I'm documenting something for my book on Node.js programming
(Node.js Web Development) and the user base needs to know how to deal with
both systems.

For something like this there is another approach that would be useful.

Multipass - https://multipass.run/ - gives you a very light weight full
Ubuntu environment.  You could install Multipass and then follow the Linux
instructions.

Use - multipass launch - to launch an Ubuntu instance.

Use - multipass shell - to get a command shell inside the Ubuntu instance

Use - multipass mount - to mount a directory from your computer inside the
instance

That should be enough to run this tool.

+ David Herron



On Sun, Apr 19, 2020 at 11:31 PM Angus Denton <gus_denton at hotmail.com>
wrote:

> So I am not a software engineer nor am I particularly brilliant with NIX
> environments. I am into media production really
> I currently have FFMPEG installed on a Mac running 10.11.6 via Macports.
> I want to install a package called Butterflow. It appears that Butterflow
> is Python based and is available on GIT hub with instructions for Mac
> install via homebrew and Python PIP. You guys have advised against having
> multiple package installers, I understand, so I want some assistance as
> Butterflow isn’t on Macports.
>
> OR could I ask for a Macports specialist to develop a port for Butterflow ?
>
> So from the instructions on GIT hub.
>
> https://github.com/dthpham/butterflow/blob/master/docs/Install-From-Source-Guide.md
>
>
> 1 Install FFMPEG (Homebrew).. Well I have FFMPEG through Macports which is
> working fine so I don’t want to do this again..
> 2 Install OPENCV The home brew instructions are available with brew
> install homebrew/science/opencv --with-ffmpeg. Well OPENCV is availabe on
> Macports with many variants and Python versions
> but I cannot see anything that associates or links it into FFMPEG through
> Macports does anybody have any ideas on this. These appear to be flags
> associated with the build process.
>
>
> 3 I have many versions of Python installed through FFMPEG updates over
> time (2.7,3.7,3.8) but ‘current' is pointing to 2.7.
> There is also the ‘native’ Mac version as well (2.7) so which one should I
> use ? Should I use the Macports installed by Macports as FFMPEG
> dependencies or Mac native because...
>
> The butterflow instructions tell me to install ‘pip’ through easy_install
> then ‘virtualenv’. Mac Python version doesn’t appear to have easy_install
> but I have installed pip using instructions here
> https://ahmadawais.com/install-pip-macos-os-x-python/
>
> So I have installed PIP for both Python locations
>
> 4 ./pip install virtualenv informs me that Python2.7 is deprecated. Will I
> easily be able to update butterflow in future ?
>
> COMPILE
> 5 "Do git clone https://github.com/dthpham/butterflow.git". OK but where
> should I download it too on my mac ? just a directoy on my downloads folder
> ? or /opt/local/butterflow maybe ? Said I was a newbie with this.!
>
> 6 ‘Create virtual environment’ using the systems Python.. virtualenv -p
> /usr/bin/python butterflow
> I thought I should be doing this with the FFMPEG/Macports installed
> Python. Shouldn’t that make the relationship or paths FFMPEG (should I work
> out how to make that link to opencv) easier or more consistent?
>
> I know there is lot here and I feel like I am try to cram a 3 year compsci
> degree into a sunday so any help or direction that the Macports brains
> trust may be able to supply would be greatly appreciated
>
> Regards
> Gus
>
>
>
>
> Angus Denton
> gus_denton at hotmail.com
> 0415 932 690
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20200420/41a22bb3/attachment.html>


More information about the macports-users mailing list