View Single Post
Posts: 1 | Thanked: 2 times | Joined on Feb 2011
#5
Originally Posted by buurmas View Post
rcolistete, thanks for remembering us N8x0 folks and for posting in this subforum! (I haven't paid attention to the other subforums for a year or so.)

I installed Integral and Derivative from the Application Manager. I ran them from the menu and nothing happened. So I went into the terminal, navigated to "/opt/derivative", entered "python derivative.py" and after a 20s or so pause got "ImportError: No module named timeit":

Code:
/opt/derivative $ python derivative.py
Traceback (most recent call last):
File "derivative.py", line 1008, in <module>
from sympy import *
File "/usr/lib/python2.5/site-packages/sympy/__init__.py", line 20, in <module>
from sympy.core import *
File "/usr/lib/python2.5/site-packages/sympy/core/__init__.py", line 8, in <module>
from expr import Expr, AtomicExpr
File "/usr/lib/python2.5/site-packages/sympy/core/expr.py", line 2020, in <module>
from mul import Mul
File "/usr/lib/python2.5/site-packages/sympy/core/mul.py", line 1197, in <module>
from numbers import Rational, igcd
File "/usr/lib/python2.5/site-packages/sympy/core/numbers.py", line 1993, in <module>
from function import FunctionClass
File "/usr/lib/python2.5/site-packages/sympy/core/function.py", line 43, in <module>
from sympy.utilities import default_sort_key
File "/usr/lib/python2.5/site-packages/sympy/utilities/__init__.py", line 13, in <module>
from runtests import test, doctest
File "/usr/lib/python2.5/site-packages/sympy/utilities/runtests.py", line 22, in <module>
from timeit import default_timer as clock
ImportError: No module named timeit
/opt/derivative $
I got the same error with integral:

Code:
/opt/integral $ python integral.py
Traceback (most recent call last):
File "integral.py", line 841, in <module>
from sympy import *
File "/usr/lib/python2.5/site-packages/sympy/__init__.py", line 20, in <module>
from sympy.core import *
File "/usr/lib/python2.5/site-packages/sympy/core/__init__.py", line 8, in <module>
from expr import Expr, AtomicExpr
File "/usr/lib/python2.5/site-packages/sympy/core/expr.py", line 2020, in <module>
from mul import Mul
File "/usr/lib/python2.5/site-packages/sympy/core/mul.py", line 1197, in <module>
from numbers import Rational, igcd
File "/usr/lib/python2.5/site-packages/sympy/core/numbers.py", line 1993, in <module>
from function import FunctionClass
File "/usr/lib/python2.5/site-packages/sympy/core/function.py", line 43, in <module>
from sympy.utilities import default_sort_key
File "/usr/lib/python2.5/site-packages/sympy/utilities/__init__.py", line 13, in <module>
from runtests import test, doctest
File "/usr/lib/python2.5/site-packages/sympy/utilities/runtests.py", line 22, in <module>
from timeit import default_timer as clock
ImportError: No module named timeit
/opt/integral $
Please let me know if I can try some other test for you.
You have to install python2.5-dev package to get the missing modules (about 18Mb). To save space on your disk its also possible to
(1) install above package,
(2) copy your /usr/lib/python2.5 folder to a temporary directory,
(3) deinstall package,
(4) start integral or derivative from terminal, watch error message
(5) copy the missing module from your temporary folder,
(6) repeat steps (4) and (5) until no error occurs. - there are 3 or 4 more modules missing
(7) delete your temporary folder
 

The Following 2 Users Say Thank You to petzik For This Useful Post: