[SciPy-dev] scipy import failures, what can we do about it?

Travis Oliphant oliphant at ee.byu.edu
Tue Feb 26 09:41:59 CST 2002


> Hi,
>
> I have several times noticed that if scipy import fails then it shows
> 1) unrelated error messages and 2) the corresponding message of the true
> reason of the failure is either hidden or presented in an unnoticable
> way. The following message illustrates a particular case of all that:

I'm not sure of the solution, but it would probably help to wrap the
import statements (particularly the ones based on compiled modules) in try
except clauses so that a more helpful error message could be raised.

-Travis





More information about the Scipy-dev mailing list