Trouble installing root and pyroot using anaconda?

Hello,

I have installed rootv5.34.36, but have decided to install rootv6,04 and pyroot since I am a little more familiar with python, but am having difficulties installing. I am using anaconda and mac os 10.11.5, and have limited knowledge of the software as I am an undergrad and am trying to learn this for the first time.

I have attained the following error:

$ source activate particle
prepending //anaconda/envs/particle/bin to PATH
Activate: ROOT has been sourced. Environment settings are ready.
ROOTSYS=//anaconda/envs/particle
((particle))$ root -b -q
dyld: Symbol not found: __cg_png_create_info_struct
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: //anaconda/envs/particle/lib/libPng.dylib
in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
((particle))$

any help installing would be greatly appreciated, thank you.

Clearly the help should come from the providers of the ROOT anaconda package. It seems that the installation come with its own libPng.dylib that is different from the one in /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib, thus the missing symbols. You could try hiding //anaconda/envs/particle/lib/libPng.dylib by deleting/renaming it and see what happens.