Erbanlage / droidbox

Automatically exported from code.google.com/p/droidbox
0 stars 0 forks source link

No module named pylab? #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1../startemu.sh 2.1
2.I modified droidbox.py like this '#!/usr/bin/python',and can ./droidbox.sh 
xxx.apk now,or there'll be an error:/usr/local/bin/python,no such file or 
directory
3../droidbox.sh xxx.apk,then-->no module named pylab

What is the expected output? What do you see instead?
I got this:no module named pylab

What version of the product are you using? On what operating system?
Python 2.7,Ubuntu-11.04

Please provide any additional information below.
I cannot ./droidbox.sh correctly if I don't modify droidbox.py like this 
'#!/usr/bin/python',but I got an error shown in step 3,is it related to my 
modification??
Thanx a lot!

Original issue reported on code.google.com by vinceHK2...@gmail.com on 31 Dec 2011 at 10:05

GoogleCodeExporter commented 9 years ago
This is what I got originally:
Traceback (most recent call last):
  File "scripts/droidbox.py", line 30, in <module>
    from pylab import *
ImportError: No module named pylab

Original comment by vinceHK2...@gmail.com on 31 Dec 2011 at 10:12

GoogleCodeExporter commented 9 years ago
Try to modify droidbox.sh and modify it as following:
" adb logcat -c | adb logcat dalvikvm:W *:S | python scripts/droidbox.py $1 "

Hope it will work,
Moutaz

Original comment by alaza...@gmail.com on 14 Jan 2012 at 1:29

GoogleCodeExporter commented 9 years ago
Are pylab and matplotlib libraries installed?

Original comment by lantz.pa...@gmail.com on 10 Mar 2012 at 3:14

GoogleCodeExporter commented 9 years ago
it's ok now

Original comment by vinceHK2...@gmail.com on 11 Mar 2012 at 4:27

GoogleCodeExporter commented 9 years ago
How did you solve the problem?
I am using the Droidbox, and it worked well when I was using Python 2.6, but 
today I changed to 2.7, it stops work, it gives the response:
- waiting for device -
- waiting for device -
Traceback (most recent call last):
  File "scripts/droidbox.py", line 28, in <module>
    from pylab import *
ImportError: No module named pylab

but I have installed matplotlib, so that should works fine, can you tell me how 
did you fix it?
thank you.
PS: I did not change any content of droidbox.sh and startemu.sh, and I am using 
ubuntu 10.04.

Original comment by baaltomm...@gmail.com on 18 Apr 2012 at 7:47