OSError: [Errno 2] No such file or directory
来源:互联网 发布:熊猫抢竹子软件 编辑:程序博客网 时间:2024/06/05 15:44
Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 530, in __bootstrap_inner self.run() File "scripts/droidbox.py", line 144, in run call(['monkeyrunner', 'scripts/monkeyrunner.py', apkName, runPackage, runActivity], stderr=PIPE) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 486, in call return Popen(*popenargs, **kwargs).wait() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 672, in __init__ errread, errwrite) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1202, in _execute_child raise child_exceptionOSError: [Errno 2] No such file or directory
why this happened? just because when you execute the command
./droidbox.sh file.apk
you have opened two terminal.
so just close all the terminal and restart a new one,all the problems gone.
you can also see the official answer:
It was a case of trying to run the script in 2 different terminal windows.
That's all, thank you!
0 0
- OSError: [Errno 2] No such file or directory
- OSError: [Errno 2] No such file or directory
- OSError: [Errno 2] No such file or directory
- Android-4.4.2 编译出错 OSError: [Errno 2] No such file or directory
- Android-4.4.2 编译出错 OSError: [Errno 2] No such file or directory
- Android 4.4 build err:OSError: [Errno 2] No such file or directory
- 使用Popen时报错:OSError: [Errno 2] No such file or directory
- git gitosis-init OSError: [Errno 2] No such file or directory
- 解决DPDK脚本python执行时“OSError: [Errno 2] No such file or directory”的问题
- MTK编译差分包问题OSError: [Errno 2] No such file or directory
- airflow 解决安装问题 OSError: [Errno 2] No such file or directory
- 制作差分包失败提示OSError[Errno 2] No such file no directory分析
- FileNotFoundError: [Errno 2] No such file or directory: 'template/
- IOError: [Errno 2] No such file or directory:
- python2.7:IOError: [Errno 2] No such file or directory:
- FileNotFoundError: [Errno 2] No such file or directory: 'tesseract'
- IOError: [Errno 2] No such file or directory的解决方法
- docker iotop :OSError: Netlink error: No such file or directory
- IOS 多线程之GCD
- Spring MVC 教程,快速入门,深入分析
- 《自控力》读书笔记
- jQuery MiniUI
- c#中利用“|”运算组合多项
- OSError: [Errno 2] No such file or directory
- android环境不能自动生成R.java文件的问题
- Generate Parentheses
- 2013年第4季度唇彩品牌网络知名度排名
- 庄子-坚白之昧
- EntityFramework之领域驱动设计实践(八)
- What every programmer should know about memory
- OpenCart支付宝付款接口(直接到账、担保交易、双接口)
- shell script的学习(一)常用命令