问题
I have installed psutil
module.
It works well if run by the python interpreter but when I try to import the module in a monkeyrunner script,it gives
No such module.
Is there any way through which i use psutil module in monkeyrunner?
Note-i am using the monkeyrunner with the android ics-x86 version
回答1:
Try to name your script something.py. This way you have a python script where you can import the modules. When you run the script with monkeyrunner, some python modules are not recognized. Monkeyrunner does not equal python 100%. It does not have all the power and functionality.
来源:https://stackoverflow.com/questions/12346337/monkeyrunner-doesnt-find-my-module