allow external for scipy dependency