Closed pymilo closed 2 years ago
Yes, you need a python version from here: https://python.org See: https://megalibtoolkit.com/setup.html "Additional information for macOS" That's an unfortunate limitation of ROOT on mac
If you are not planning to use the python bindings, feel free to comment out the "exit 1", the in the config/build-root.sh script and thus skip the python installation part.
type python3 >/dev/null 2>&1
if [[ $? -eq 0 ]]; then
PPATH=$(which python3)
if [[ -f ${PPATH} ]]; then
if [[ ${PPATH} == *conda* ]]; then
echo "ERROR: You cannot use a python version installed via (ana)conda with ROOT."
# exit 1
else
CONFIGUREOPTIONS+=" -DPYTHON_EXECUTABLE:FILEPATH=${PPATH} -Dpython3=ON"
fi
fi
fi
Just a final comment for anybody else seeing this: For the latest version of MEGAlib you can also use a macports version of python. Please see the MEGAlib instructions manual.
I get this error when trying to install Megalib via bash setup.sh. However, when I see my python version running python --version I get Python 3.7.4
I'm indeed using python via anaconda ~/opt/anaconda3/lib/python3.7 do I need to re-install python in another way?