Reply
Thread Tools
Posts: 308 | Thanked: 62 times | Joined on Jun 2009 @ Turkiye
#1
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
 
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#2
You can use any module you want by putting it under the directory tree of the program you want to run.
 
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#3
And there are lots of other Python modules already packaged.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org

Last edited by Jaffa; 2010-02-09 at 20:32.
 

The Following 3 Users Say Thank You to Jaffa For This Useful Post:
Posts: 308 | Thanked: 62 times | Joined on Jun 2009 @ Turkiye
#4
but it seems those ones are for fremantle :/ :/
im working with diablo
 
Posts: 53 | Thanked: 90 times | Joined on Nov 2009 @ Manaus, Brazil
#5
Originally Posted by McLightning View Post
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).
__________________
Anderson Lizardo
 

The Following 3 Users Say Thank You to lizardo For This Useful Post:
Posts: 308 | Thanked: 62 times | Joined on Jun 2009 @ Turkiye
#6
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

Last edited by McLightning; 2010-02-11 at 15:01.
 
Posts: 308 | Thanked: 62 times | Joined on Jun 2009 @ Turkiye
#7
please help this is too important for me
 
Posts: 308 | Thanked: 62 times | Joined on Jun 2009 @ Turkiye
#8
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)
 
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#9
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's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#10
Originally Posted by lizardo View Post
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.
__________________
N9: Go white or go home
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:28.