maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Are we limited with the python modules listed on pymaemo.org? (https://talk.maemo.org/showthread.php?t=43906)

McLightning 2010-02-09 17:50

Are we limited with the python modules listed on pymaemo.org?
 
Are we limited with the python modules listed on pymaemo.org?
or is it possible to install any module we want?
for example pymunk or box2d??
please i would appreciated to any answer

maacruz 2010-02-09 17:59

Re: Are we limited with the python modules listed on pymaemo.org?
 
You can use any module you want by putting it under the directory tree of the program you want to run.

Jaffa 2010-02-09 20:19

Re: Are we limited with the python modules listed on pymaemo.org?
 
And there are lots of other Python modules already packaged.

McLightning 2010-02-10 13:32

Re: Are we limited with the python modules listed on pymaemo.org?
 
but it seems those ones are for fremantle :/ :/
im working with diablo

lizardo 2010-02-10 18:25

Re: Are we limited with the python modules listed on pymaemo.org?
 
Quote:

Originally Posted by McLightning (Post 519379)
but it seems those ones are for fremantle :/ :/
im working with diablo

No, most of them also exist on Diablo, but usually with the "python2.5-<module>" name.

Try running "apt-get update && apt-cache search python" on a Scratchbox Diablo target and see for yourself what is available to you :) (make sure to enable the extras-devel repository on scratchbox, first).

McLightning 2010-02-11 14:57

Re: Are we limited with the python modules listed on pymaemo.org?
 
the future
(Reading database ... 20175 files and directories currently installed.)
Unpacking pybox2d (from .../pybox2d_2.0.2b1-2_armel.deb) ...
dpkg: error processing /var/cache/apt/archives/pybox2d_2.0.2b1-2_armel.deb (--unpack):
trying to overwrite `/usr/lib/python2.5/site-packages/Box2D-2.0.2b1-py2.5.egg-info/PKG-INFO', which is also in package python-pybox2d
Errors were encountered while processing:
/var/cache/apt/archives/pybox2d_2.0.2b1-2_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

what about this error???? please please help

McLightning 2010-02-11 15:44

Re: Are we limited with the python modules listed on pymaemo.org?
 
please help this is too important for me

McLightning 2010-02-11 16:10

Re: Are we limited with the python modules listed on pymaemo.org?
 
i tried to import Box2D with python
it says:
ImportError: /usr/lib/libstdc++.so.6: version 'CXXABI_1.3.1" not found (required by /usr/lib/python2.5/site-packages/_Box2D.so)

maacruz 2010-02-11 16:59

Re: Are we limited with the python modules listed on pymaemo.org?
 
You have package python-pybox2d installed, which provides the same as pybox2d. That's why you get the install error.
Uninstall the first one to install the second one. Or reinstall the first one and see if it works.

daperl 2010-02-11 17:13

Re: Are we limited with the python modules listed on pymaemo.org?
 
Quote:

Originally Posted by lizardo (Post 519872)
No, most of them also exist on Diablo, but usually with the "python2.5-<module>" name.

Try running "apt-get update && apt-cache search python" on a Scratchbox Diablo target and see for yourself what is available to you :) (make sure to enable the extras-devel repository on scratchbox, first).

I noticed you're the author of the python-mafw bindings. Thanks for your work, but are they complete? There doesn't seem to be a get_metadata call inside of mafw.Source and examples/source_browsing goes off to la-la land when I run it with localtagsfs::music/songs or localtagsfs::videos.


All times are GMT. The time now is 20:09.

vBulletin® Version 3.8.8