On 2/18/07, Luis Finotti <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
> ****************************************************
> Traceback (most recent call last):
> File "setup.py", line 5, in ?
> from distutils import core
> File "/usr/local/sage-1.5.0.2/local/lib/python/distutils/core.py",
> line 21, in ?
> from distutils.dist import Distribution
> File "/usr/local/sage-1.5.0.2/local/lib/python/distutils/dist.py",
> line 16, in ?
> import warnings
> File "/usr/local/sage-1.5.0.2/local/lib/python/warnings.py", line 264,
> in ?
> simplefilter("ignore", category=ImportWarning, append=1)
> NameError: name 'ImportWarning' is not defined
>
> real 0m0.331s
> user 0m0.168s
> sys 0m0.012s
> sage: An error occured while installing pycrypto-2.0.1
> Please email William Stein <[EMAIL PROTECTED]> explaining the
> problem and send him the relevant part of
> of /usr/local/sage-1.5.0.2/install.log. Don't send the whole thing.
> If you want to try to fix the problem, yourself *don't* just cd to
> /usr/local/sage-1.5.0.2/spkg/build/pycrypto-2.0.1 and type 'make'.
> Instead (using bash) type "source local/bin/sage-env" from the directory
> /usr/local/sage-1.5.0.2
> in order to set all environment variables correctly, then cd to
> /usr/local/sage-1.5.0.2/spkg/build/pycrypto-2.0.1
>
> I don't want to waste anyone's time if this seems to be something I
> did wrong (and not a bug or something someone else might encounter).
> In that case, I can just reinstall from scratch...
Your Python install appears to messed up -- I guess. You should just
reinstall from scratch at this point. Sorry for the inconvenience.
William
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---