Python
文章平均质量分 57
CDaron
As long as we're running,as long as we don't stop,who konws what's going on ahead?
展开
-
解决:Python3.7版本安装pyinstaller一直失败,报错提示“error: subprocess-exited-with-error”
Python3.7版本安装pyinstaller一直失败原创 2023-01-14 21:43:44 · 18337 阅读 · 3 评论 -
安卓设备脱离pc自动化测试,Termux模拟器下python+uiautomator2的环境设置。本人亲测,踩坑总结。
termux是一个终端模拟器,无需root,今天讲解安卓python+uiautomator2来实现安卓设备脱离pc的自动化环境设置:--------表示环境设置的坑太多,本人搞了很久,现做个详细总结-------- from Daron1.安装成功termux2更新源pkg update pkg upgrade (apt与pkg命令效果类似)指令:pkg upgrade3.安装python及更新pippkg install pythonpython -m pip inst.原创 2022-07-09 21:18:18 · 2884 阅读 · 3 评论 -
将excel内存数据用Matplotlib画成图表,附python代码,首次使用matplotlib,经验总结(遇到的问题和解决办法)
背景:有一份xls表格数据,里面有四列数据(分别是app内存,hal内存,server内存,时间戳),一共有上千行的数据类型,且所有数据都是str类型;现需要画成一个内存走势图展示出来,最后保留照片。---------------------------------------------------------------------------------------------------------------------------------代码展示: def matplotl..原创 2021-08-31 11:18:15 · 703 阅读 · 0 评论 -
解决Python PIP版本过低问题
安装了Python 2.7.9版本后使用PIP安装三方库老是报pip版本过低问题;又或者老是报错提示Command "python setup.py egg_info" failed with error code。解决版本:首先要卸载PIP:python -m pip unistall pip然后再安装pip:PIP没有了,但是easy_install还在;可以指定pip版本进行安装。easy_install pip==21.2.3最后在使用PIP安装第三方.原创 2021-08-09 10:14:49 · 1107 阅读 · 0 评论