<div dir="ltr"><br><div>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.</div><div><br></div><div>For something like this there is another approach that would be useful.</div><div><br></div><div>Multipass - <a href="https://multipass.run/">https://multipass.run/</a> - gives you a very light weight full Ubuntu environment.  You could install Multipass and then follow the Linux instructions.</div><div><br></div><div>Use - multipass launch - to launch an Ubuntu instance.</div><div><br></div><div>Use - multipass shell - to get a command shell inside the Ubuntu instance</div><div><br></div><div>Use - multipass mount - to mount a directory from your computer inside the instance</div><div><br></div><div>That should be enough to run this tool.</div><div><br></div><div>+ David Herron<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 19, 2020 at 11:31 PM Angus Denton <<a href="mailto:gus_denton@hotmail.com">gus_denton@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<div style="font-family:Monaco;font-size:13px">So I am not a software engineer nor am I particularly brilliant with NIX environments. I am into media production really</div>
<div style="font-family:Monaco;font-size:13px">I currently have FFMPEG installed on a Mac running 10.11.6 via Macports.</div>
<div style="font-family:Monaco;font-size:13px">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.</div>
<div style="font-family:Monaco;font-size:13px"><br>
</div>
<div style="font-family:Monaco;font-size:13px">OR could I ask for a Macports specialist to develop a port for Butterflow ?</div>
<div style="font-family:Monaco;font-size:13px"><br>
</div>
<div style="font-family:Monaco;font-size:13px">So from the instructions on GIT hub.</div>
<div style="font-family:Monaco;font-size:13px"><a href="https://github.com/dthpham/butterflow/blob/master/docs/Install-From-Source-Guide.md" target="_blank">https://github.com/dthpham/butterflow/blob/master/docs/Install-From-Source-Guide.md</a> </div>
<div style="font-family:Monaco;font-size:13px"><br>
</div>
<div style="font-family:Monaco;font-size:13px">1 Install FFMPEG (Homebrew).. Well I have FFMPEG through Macports which is working fine so I don’t want to do this again..</div>
<div style="font-family:Monaco;font-size:13px">2 Install OPENCV The home brew instructions are available with <code>brew install homebrew/science/opencv --with-ffmpeg</code>. Well OPENCV is availabe on Macports with many variants
 and Python versions </div>
<div style="font-family:Monaco;font-size:13px">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.</div>
<div style="font-family:Monaco;font-size:13px"><br>
</div>
<div style="font-family:Monaco;font-size:13px"><br>
</div>
<div style="font-family:Monaco;font-size:13px">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.</div>
<div style="font-family:Monaco;font-size:13px">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...</div>
<div style="font-family:Monaco;font-size:13px"><br>
</div>
<div style="font-family:Monaco;font-size:13px">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<span> </span><a href="https://ahmadawais.com/install-pip-macos-os-x-python/" target="_blank">https://ahmadawais.com/install-pip-macos-os-x-python/</a></div>
<div style="font-family:Monaco;font-size:13px"><br>
</div>
<div style="font-family:Monaco;font-size:13px">So I have installed PIP for both Python locations </div>
<div style="font-family:Monaco;font-size:13px"><br>
</div>
<div style="font-family:Monaco;font-size:13px">4 ./pip install virtualenv informs me that Python2.7 is deprecated. Will I easily be able to update butterflow in future ?  </div>
<div style="font-family:Monaco;font-size:13px"><br>
</div>
<div style="font-family:Monaco;font-size:13px">COMPILE</div>
<div style="font-family:Monaco;font-size:13px">5 "Do<span> </span><code>git clone<span> </span><a href="https://github.com/dthpham/butterflow.git" target="_blank">https://github.com/dthpham/butterflow.git</a>"</code>. 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.!</div>
<div style="font-family:Monaco;font-size:13px"><br>
</div>
<div style="font-family:Monaco;font-size:13px">6 ‘Create virtual environment’ using the systems Python.. virtualenv -p /usr/bin/python butterflow</div>
<div style="font-family:Monaco;font-size:13px">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?</div>
<div style="font-family:Monaco;font-size:13px"><br>
</div>
<div style="font-family:Monaco;font-size:13px">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</div>
<div style="font-family:Monaco;font-size:13px"><br>
</div>
<div style="font-family:Monaco;font-size:13px">Regards</div>
<div style="font-family:Monaco;font-size:13px">Gus  </div>
<div style="font-family:Monaco;font-size:13px"><br>
</div>
<div style="font-family:Monaco;font-size:13px"><br>
</div>
<div style="font-family:Monaco;font-size:13px"><br>
</div>
<br style="font-family:Monaco;font-size:13px">
<div style="font-family:Monaco;font-size:13px">
<div style="line-height:normal;text-align:-webkit-auto">
Angus Denton<br>
<a href="mailto:gus_denton@hotmail.com" target="_blank">gus_denton@hotmail.com</a><br>
0415 932 690</div>
</div>
<br>
</div>
</div>

</blockquote></div>