Hi again,
On 2/18/07, William Stein <[EMAIL PROTECTED]> wrote:
>
> Your Python install appears to messed up -- I guess. You should just
> reinstall from scratch at this point. Sorry for the inconvenience.
I'm sorry to stir the pot again, but a fresh install failed too, and
again it seems to be due to pycrypto. (I just downloaded 2.1.4 and
ran make.) There is a traceback in the very end on the install:
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
****************************************************
Traceback (most recent call last):
File "setup.py", line 5, in ?
from distutils import core
File "/usr/local/sage-2.1.4/local/lib/python/distutils/core.py", line 21, in ?
from distutils.dist import Distribution
File "/usr/local/sage-2.1.4/local/lib/python/distutils/dist.py", line 16, in ?
import warnings
File "/usr/local/sage-2.1.4/local/lib/python/warnings.py", line 264, in ?
simplefilter("ignore", category=ImportWarning, append=1)
NameError: name 'ImportWarning' is not defined
real 0m0.457s
user 0m0.176s
sys 0m0.016s
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-2.1.4/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-2.1.4/spkg/build/pycrypto-2.0.1 and type 'make'.
Instead (using bash) type "source local/bin/sage-env" from the directory
/usr/local/sage-2.1.4
in order to set all environment variables correctly, then cd to
/usr/local/sage-2.1.4/spkg/build/pycrypto-2.0.1
make[1]: *** [installed/pycrypto-2.0.1] Error 1
make[1]: Leaving directory `/home/local/sage-2.1.4/spkg'
I did not find anything else in the install.log file, but I've posted it at:
http://www.math.utk.edu/~finotti/install_2.1.4.log
if it would be relevant. (Also, I'm running Debian Etch, with kernel 2.6.17.)
Best,
Luis
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---