VMTK on MacOS 10.12¶
I followed roughly the instructions at [[http://www.vmtk.org/documentation/getting-started.html]]
On my Mac I already have port installed and now I’d like to install VMTK via homebrew.
To minimize the interference between port and homebrew, I installed the latter in a different directory:
install file in order to change install dir to
$HOME/Ruby. Then install Homebrew:
ruby -e "$(cat install)"
You have now to add
$HOME/Ruby/bin to your PATH:
(add this to your shell profile or call this line in every terminal where you need to use brew or vmtk)
If you have
vmtk already installed on your computer:
brew uninstall vmtk
You have to change the git version inside the file
vmtk.rb. First download it:
vmtk.rb, 3rd and 4th line
(The version here is fake, since we are using the head of the development)
On my computer, in the lines of vmtk.rb, I also have to remove the lines 28-29 and replace them with
python_executable = "/usr/local/bin/python"
Otherwise python is not found. Then install vmtk:
brew install --build-from-source vmtk.rb