Mouse-Imaging-Centre / pyminc

A python interface to the MINC 2 library, allowing use of numpy arrays to access MINC data, and other such similar goodies, developed by Jason Lerch
http://en.wikibooks.org/wiki/MINC/Tutorials
Other
14 stars 8 forks source link

Installation instructions for Mac #24

Open cfhammill opened 8 years ago

cfhammill commented 8 years ago

Installing RMINC on mac seems to be difficult due to python being unable to find libminc2.dylib (or .so). @jasonlerch, you've run into this I think, how did you get around it?

With OSX scrubbing DYLD_LIBRARY_PATH before opening python, find_library is probably useless. Perhaps we could ask OSX users to create an environment variable "MINC_TOOLKIT_PATH" and search on there manually.

jasonlerch commented 8 years ago

I got around it by hacks: either moving libs to one of the included paths or by using otool to change lookups.

cfhammill commented 8 years ago

Any thoughts on requiring an environment var?