谢谢 折腾了好久通过 代理已经将choco安装好。但是安装通过choco安装Python2时 总是下载失败。 log:
PS C:\Users\hxb> choco install python2
Chocolatey v0.10.15
Installing the following packages:
python2
By installing you accept licenses for the packages.
Progress: Downloading python2 2.7.17… 0%
ython2 not installed. An error occurred during installation:
The operation has timed out.
ython2 package files install completed. Performing other installation steps.
he install of python2 was NOT successful.
ython2 not installed. An error occurred during installation:
The operation has timed out. 配置没配好无法进行思涵老师下面的app自动化测试, 希望老师能帮助解决一下环境配置的问题。 感谢了
问题一:可以通过其它方法安装吗?
报错“No route found. Setting content type to ‘text/plain’”log如下:
[ADB] Current device property ‘ro.product.manufacturer’: Netease
[AndroidDriver] No app sent in, not parsing package/activity
[AndroidDriver] No app capability. Assuming it is already on the device
[ADB] Getting install status for com.xueqiu.android
[ADB] Running ‘D:\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1:7555 shell pm list packages ’ com.xueqiu.android’’
[ADB] App is not installed
[AndroidDriver] Shutting down Android driver
[AndroidDriver] Called deleteSession but bootstrap wasn’t active
[Logcat] Stopping logcat capture
[ADB] Running ‘D:\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 127.0.0.1:7555 shell am force-stop io.appium.unlock’
[AndroidDriver] Not cleaning generated files. Add clearSystemFiles capability if wanted.
[BaseDriver] Event ‘newSessionStarted’ logged at 1586923731781 (12:08:51 GMT+0800 (中国标准时间))
[MJSONWP] Encountered internal error running command: Error: ‘app’ option is required for reinstall
[MJSONWP] at Object.callee$0$0$ (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-android-driver\lib\android-helpers.js:330:11)
[MJSONWP] at tryCatch (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[MJSONWP] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
[MJSONWP] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js21)
[MJSONWP] at GeneratorFunctionPrototype.invoke (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[MJSONWP] at run (C:\Program Files (x86)\Appium\resources\app\webpack:~\babel-polyfill~\core-js\modules\es6.promise.js:75:1)
[MJSONWP] at C:\Program Files (x86)\Appium\resources\app\webpack:~\babel-polyfill~\core-js\modules\es6.promise.js:92:1
[MJSONWP] at flush (C:\Program Files (x86)\Appium\resources\app\webpack:~\babel-polyfill~\core-js\modules_microtask.js:18:1)
[MJSONWP] at process._tickCallback (internal/process/next_tick.js:61:11)
[HTTP] <-- POST /wd/hub/session 500 15144 ms - 175
[HTTP]
[HTTP] --> DELETE /wd/hub/session
[HTTP] {}
[HTTP] No route found. Setting content type to ‘text/plain’
[HTTP] <-- DELETE /wd/hub/session 404 5 ms - 57