[SciPy-User] ImportError: No module named compat

Warren Weckesser warren.weckesser at enthought.com
Tue Feb 22 13:52:03 EST 2011


On Tue, Feb 22, 2011 at 12:37 PM, M.Rule <mrule7404 at gmail.com> wrote:

> I'm trying to install scipy. Both building from source and using
> easy_install give me this error :
>
> % python setup.py build
> Traceback (most recent call last):
>   File "setup.py", line 86, in <module>
>     FULLVERSION += svn_version()
>   File "setup.py", line 59, in svn_version
>     from numpy.compat import asstr
> ImportError: No module named compat
>
>
> numpy is installed and functional.
>


What version of numpy do you have installed?  You might need to update to a
newer version.

Warren



> what did I do wrong ?
>
> Sincerely,
> Michael Rule.
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20110222/4ac20fff/attachment.html>


More information about the SciPy-User mailing list