Sage 3.0.4 Fails with "ImportError"

60 views
Skip to first unread message

Roberto Dominijanni

unread,
Jul 10, 2008, 9:30:31 PM7/10/08
to sage-s...@googlegroups.com
Sage 3.0.4 compiled successfully on a system with two 3 Gb Xeon
processors running the AMD64 flavor of ubuntu-8.04. Invoking sage from
the command prompt gives the following:

> ----------------------------------------------------------------------
> | SAGE Version 3.0.4, Release Date: 2008-07-10 |
> | Type notebook() for the GUI, and license() for information. |
> ----------------------------------------------------------------------
>
> ---------------------------------------------------------------------------
> ImportError Traceback (most recent call last)
>
> /opt/sage/local/bin/<ipython console> in <module>()
>
> /opt/sage/local/lib/python2.5/site-packages/sage/all_cmdline.py in <module>()
> 12 try:
> 13
> ---> 14 from sage.all import *
> 15 from sage.calculus.predefined import x
> 16 preparser(on=True)
>
> /opt/sage/local/lib/python2.5/site-packages/sage/all.py in <module>()
> 117 import sage.finance.all as finance
> 118
> --> 119 from sage.parallel.all import *
> 120
> 121 from copy import copy, deepcopy
>
> /opt/sage/local/lib/python2.5/site-packages/sage/parallel/all.py in <module>()
> ----> 1 from decorate import parallel
> 2
>
> /opt/sage/local/lib/python2.5/site-packages/sage/parallel/decorate.py in <module>()
> 10 from reference import parallel_iter as p_iter_reference
> 11 from sage.dsage.interface import dsage_interface
> ---> 12 import multiprocessing
> 13
> 14 def normalize_input(a):
>
> /opt/sage/local/lib/python2.5/site-packages/sage/parallel/multiprocessing.py in <module>()
> 12 ################################################################################
> 13
> ---> 14 from processing import Pool
> 15 from functools import partial
> 16 from sage.misc.fpickle import pickle_function, call_pickled_function
>
> ImportError: No module named processing

Any ideas on how I can go about fixing this?

Regards,

Roberto Dominijanni

mabshoff

unread,
Jul 10, 2008, 10:42:43 PM7/10/08
to sage-support


On Jul 10, 6:30 pm, Roberto Dominijanni
<roberto.dominija...@ct.metrocast.net> wrote:

Hi Roberto,

> Sage 3.0.4 compiled successfully on a system with two 3 Gb Xeon
> processors running the AMD64 flavor of ubuntu-8.04.  Invoking sage from
> the command prompt gives the following:
<SNIP>
> > ImportError: No module named processing
>
> Any ideas on how I can go about fixing this?

The Pyprocessing module was not installed/compiled properly. This
indicates that the build did not finish and/or something bad happened.
Please upload install.log to some place and post a link so I can take
a closer look.

> Regards,
>
> Roberto Dominijanni

Cheers,

Michael

mabshoff

unread,
Jul 11, 2008, 7:43:41 AM7/11/08
to sage-support
Hi Robert,

I looked at your build log you send me off list and lcalc failed to
build. I suspect it is due to some CFLAG option we set, namely using "-
static-libgcc". According to the log this was added a while back, but
I see no reason to add it at all. Can you take the spkg at

http://sage.math.washington.edu/home/mabshoff/lcalc-20080205.p2.spkg

and put it into $SAGE_ROOT/spkg/standard and run "make" again from
$SAGE_ROOT since you did not finish building Sage. Let me know how it
goes.

Cheers,

Michael

Roberto

unread,
Jul 11, 2008, 11:36:09 PM7/11/08
to sage-support
Michael,

That did the trick. Sage finished compiling and passed all its tests.
Thank you very much.

Roberto
Reply all
Reply to author
Forward
0 new messages