I have figured out that scipy>=0.11.0 is required, otherwise function
argrelmin is not available