- **OS2008 / Maemo 4 / Chinook - Diablo**
(*https://talk.maemo.org/forumdisplay.php?f=29*)

- - **[Announce] SymPy, IPython, Integral, Derivative and Limit - CAS for Maemo 4 (Diablo)**
(*https://talk.maemo.org/showthread.php?t=78601*)

[Announce] SymPy, IPython, Integral, Derivative and Limit - CAS for Maemo 4 (Diablo)I am glad to announce
SymPy (Computer Algebra System - CAS, written in pure Python), Integral, Derivative and Limit for Maemo 4 (Diablo).Also, IPython 0.10.2 is now released, so SymPy is updated with better interface (icon, automatic definitions, etc) and simpler installation.See the topics here in Talk Maemo.org : SymPy (Computer Algebra System) for Maemo 4 & 5 & 6 IPython for Maemo 4 & 5 & 6 Integral - calculating mathematical integrals for Maemo 4 & 5 Derivative - calculating mathematical derivatives for Maemo 4 & 5 Limit - calculating mathematical limits for Maemo 4 & 5 SymPy and its dependency python2.5-dev on Maemo 4 take more than 30 MB after install.Integral/Derivative/Limit and the TTF-DejaVu font dependency add more 8 MB, so you need approx. 40 MB free on your Maemo 4.(* Important *)For the users of Integral v1.1.4 and Derivative v1.0.0 for Maemo 4, which were not running because of the missing python2.5-dev dependency, the solution is : - uninstall "Integral"/"Derivative"/"Limit" from the application manager (it will uninstall python-sympy_0.7.1-maemo3); - update the application manager; - install "Integral"/"Derivative"/"Limit" so that the new python-sympy (and python2.5-dev) will be installed. I will continue to release new versions as well as other softwares for Maemo 4/5. |

Re: [Announce] SymPy, Integral, etc - CAS for Maemo 4 (Diablo)Now "Derivative" is released for Maemo 4 (Diablo) and Maemo 5 (Fremantle), see the Maemo.org topic about "Derivative".
Compared to Nokia N900, "Derivative" on Nokia N810 is : * slower to load (about 16 s instead of 7 s) on my N810 with cloned Maemo; * has nicer font (DejaVu Sans Mono) for bidimensional output (next version for Maemo 5 will also have it); * just a little bit slower on calculations. So N8x0 users, be happy as your tablet is excellent to run Python, hence SymPy, Integral, Derivative, etc. |

Re: [Announce] SymPy, Integral, Derivative, etc - CAS for Maemo 4 (Diablo)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` Code:
`/opt/integral $ python integral.py` |

Re: [Announce] SymPy, Integral, Derivative, etc - CAS for Maemo 4 (Diablo)Hi buurmas,
This is a unknown problem, so let me ask you to do some tests about SymPy : - open an "X terminal" window; - type "python" to launch the Python interactive shell; - type from the cursor prompt : >>> from sympy import * Tell me if the error messages are present or not. Thanks in advance, Roberto |

Re: [Announce] SymPy, Integral, Derivative, etc - CAS for Maemo 4 (Diablo)Quote:
(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 |

Re: [Announce] SymPy, Integral, Derivative, etc - CAS for Maemo 4 (Diablo)(* Solved, read the next post. *)I confirm what petzik said. Only on Maemo 4 the "python2.5" package does not contain all of the Python 2.5.2 files (on Maemo 5, "python2.5" has the usual Python 2.5.4 files). So SymPy on Maemo 4 needs another dependency, "python2.5-dev" which contains the missing files "doctest.py", "unittest.py" and "timeit.py" in "/usr/lib/python2.5/". I have had "python2.5-dev" installed on my Nokia N810 so I overlooked this problem. Sorry for my fault. So the (temporary) solution is to install the "python2.5-dev" package (14.8 MB after install) : - open the X-terminal; - become root by typing "sudo gainroot"; - type "apt-get install python2.5-dev" and confirm. One problem on Maemo 4 is that "Integral"/"Derivative" will install python-sympy, python2.5-dev and ttf-dejavu, about 40 MB. For N8x0 users without cloned Maemo in internal SD, it can be an issue to have this free space. (* Released *)I will soon release a new version of "python-sympy" for Maemo 4 including "python2.5-dev" as a dependency. If somebody has a better and easy to use solution for this problem, feel free to share here. |

Re: [Announce] SymPy, Integral, Derivative, etc - CAS for Maemo 4 (Diablo)"Integral", "Derivative" and SymPy for Maemo 4 Diablo are updated, solving the dependency problem.
(* Not so easy... *) Just update the catalog in Application Manager and install the new versions of "Integral"/"Derivative". (* It is need to uninstall Integral v1.1.4 / Derivative 1.0.0 for Maemo 4 and then install again. *) Pay attention because the dependencies on Maemo 4 Diablo (python-sympy, python2.5-dev, ttf-dejavu) can take about 40 MB after install. But they are common to "Integral", "Derivative" and "Limit" (released today on extras repository, I will announce it here). |

Re: [Announce] SymPy, Integral, Derivative, etc - CAS for Maemo 4 (Diablo)"Limit" (calculating mathematical limits) is released for Maemo 4 Diablo as well as Maemo 5 Fremantle.
"Limit" on Nokia N810 loads approx. 9 s slower than on Nokia N900 and the calculations are also slower (about half the speed). |

Re: [Announce] SymPy, Integral, Derivative and Limit - CAS for Maemo 4 (Diablo)Strangely, I still have the problem. I don't appear to have python2.5-dev installed yet; that is, it does not appear in the PackageView program.
Here's what I did. I ran the Application Manager, saw the updates to Integral & Derivative, installed them, and ran them but nothing happened. I also installed Limit -- same thing. For completeness, here is the test you requested earlier (this was run after doing all the things I mentioned above): Code:
`~ $ python` |

Re: [Announce] SymPy, Integral, Derivative and Limit - CAS for Maemo 4 (Diablo)I installed python2.5-dev from the terminal (sudo apt-get) and now everything appears to be working. Perhaps the dependencies on SymPy still aren't correctly being handled?
Code:
`~ $ sudo apt-get install python2.5-dev` |

All times are GMT. The time now is 23:26. |

vBulletin® Version 3.8.8