겉으로보기에 기존 모듈 인 simplejson을 내 MonkeyRunner 스크립트로 가져 오는 데 어려움이 있습니다.누락 된 모듈을 monkeyrunner 스크립트로 가져 오는 방법은 무엇입니까?
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice
import simplejson
def main():
print "this is a test"
if __name__ == "__main__":
main()
ImportError를 : 나는 그것을 알고있는 것처럼
simplejson라는 이름의 모듈은 MonkeyRunner 파이썬 2.5을 기반으로, 자이 썬 2.5 사용? 나는 JSON 모듈이 Python 2.7에 포함되어 있다는 것을 알고 있지만 파이썬 2.5 용 simplejson을 '/Library/Python/2.5/site-packages/simplejson-2.3.2-py2.5-macosx-10.7-x86_64.egg'에 설치했다.
내 질문은, 어떻게 제대로 monkeyRunner 스크립트로 가져온 simplejson 모듈을 얻을 수 있습니까?