Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [SCRIPT] Using the N900 as Sonar

    Reply
    Page 4 of 4 | Prev |   2     3   4 |
    disappear | # 31 | 2014-09-03, 12:54 | Report

    Hi to all,I try use this script,so what i did?
    Install python-numpy and alsa-utils(that package i already have) and python2.7,also i created emty file with leafpad(also i try to created file using windows but result it was the same)and rename him echo.py,then copy sonar script from pastebin and paste in echo.py
    but when type python2.7 echo.py the output from console is:
    Originally Posted by
    ~ $ python2.7 echo.py
    Traceback (most recent call last):
    File "echo.py", line 9, in <module>
    import numpy as npy
    File "/opt/python27/local/lib/python2.7/dist-packages/numpy/__init__.py", line 132, in <module>
    import add_newdocs
    File "/opt/python27/local/lib/python2.7/dist-packages/numpy/add_newdocs.py", line 9, in <module>
    from lib import add_newdoc
    File "/opt/python27/local/lib/python2.7/dist-packages/numpy/lib/__init__.py", line 4, in <module>
    from type_check import *
    File "/opt/python27/local/lib/python2.7/dist-packages/numpy/lib/type_check.py", line 8, in <module>
    import numpy.core.numeric as _nx
    File "/opt/python27/local/lib/python2.7/dist-packages/numpy/core/__init__.py", line 5, in <module>
    import multiarray
    ImportError: No module named multiarray
    I made quick search and found this http://askubuntu.com/questions/23090...med-multiarray
    although than,i follow advice from above link,that mistake show me again,anyone from you has experience with this script

    regards
    edit:finally i manage to run this script(after several time i created and deleted folder numpy and the end i left that folder in /usr/local/lib/python2.7/site-packages/)
    but for big regret my sonar on n900,won't detected any movement
    but this time i type python echo.py
    what the F*******

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by disappear; 2014-09-03 at 13:46.

     
    rcolistete | # 32 | 2014-09-05, 20:14 | Report

    Use default Python (2.5). NumPy in Maemo-Extras is compiled for Python 2.5, AFAIK.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to rcolistete For This Useful Post:
    disappear

     
    Page 4 of 4 | Prev |   2     3   4 |
vBulletin® Version 3.8.8
Normal Logout