会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
先峰
总要去探索吧
博客园
首页
新随笔
联系
订阅
管理
2023年1月14日
golang交叉编译
摘要: 先设置为运行平台,再设置内核类型,再编译产出 常见平台有:android、darwin、linux、windows 内核类型提供uname -a可以查看:amd64、arm64、386 set GOOS=linux set GOARCH=arm64 go build -o flt UpdateBas
阅读全文
posted @ 2023-01-14 19:43 冯立挺
阅读(37)
评论(0)
推荐(0)
2023年1月10日
ValueError: invalid literal for int() with base 16: 'FAIL'
摘要: File "/home/webapps/.local/lib/python3.8/site-packages/adbutils/__init__.py", line 154, in read_string_block size = int(length, 16) uiautomator2连接设备发现
阅读全文
posted @ 2023-01-10 18:10 冯立挺
阅读(606)
评论(0)
推荐(0)
2022年11月6日
nginx笔记
摘要: 操作命令: nginx -v 查看版本号 nginx -V 查看配置相关信息 nginx -s reload 重启 conf模块 events{ use epoll; 轮询方法 worker_connections 20000; 最大连接数 client_header_buffer_size 4k;
阅读全文
posted @ 2022-11-06 19:51 冯立挺
阅读(20)
评论(0)
推荐(0)
2022年10月14日
uiautomator2启动失败
摘要: uiautomator2连接设备报:uiautomator2.exceptions.GatewayError: uiautomator2.GatewayError(gateway error, time used 0.0s) 解决:发现atx出租车没有安装成功需要安装
阅读全文
posted @ 2022-10-14 15:10 冯立挺
阅读(1468)
评论(0)
推荐(0)
2022年4月30日
安装cv2库
摘要: python现在使用cv2库是安装opencv-python, 安装opencv-python需要安装numpy库 目前因为网络各种原因直接安装库失败,需要下载whl文件进行安装 numpy下载地址:https://pypi.org/project/numpy/#files opencv-pytho
阅读全文
posted @ 2022-04-30 19:50 冯立挺
阅读(1886)
评论(0)
推荐(0)
2021年7月8日
常用操作
摘要: 备注:电脑安装uiautomator2和weditor后,要记得运行python -m uiautomator2 init,这样手机端会自动安装ATX端 1、录屏: device = u2.connect() now = str(datetime.datetime.now()).replace(":
阅读全文
posted @ 2021-07-08 22:55 冯立挺
阅读(100)
评论(0)
推荐(0)
2021年6月28日
weditor元素定位异常
摘要: 定位异常,只能看得到顶部的定位,下方的无法定位到,点击都是红色或蓝色的元素,很奇怪 找到正常使用方法,原来weditor在开实时时是不能正常的定位元素的,会自动拉大定位框,真是个奇怪的问题,关掉实时后能正常定位元素。
阅读全文
posted @ 2021-06-28 15:47 冯立挺
阅读(919)
评论(0)
推荐(0)
2021年6月21日
python ImportError: C extension: DLL load failed while importing strptim
摘要: 使用pandas包突然异常,这是一些360软件拦截导致的,把这些杀毒软件关掉就可以正常使用库了
阅读全文
posted @ 2021-06-21 21:33 冯立挺
阅读(224)
评论(0)
推荐(0)
2021年4月21日
python:导入不同路径下相同名称的模块
摘要: 例子:文件夹A,B下面有一样的header.py的模块,如何在我运行整个项目中,根据需求自动导入不同的header.py文件呢? 在实际运行中,通过sys.path.append和sys.path.remove来增加路径去除路径,发现还是不行,虽然路径删除了,但模块已经被导入了,还需要重新加载模块
阅读全文
posted @ 2021-04-21 16:40 冯立挺
阅读(492)
评论(0)
推荐(1)
2020年12月30日
jmeter: 报错锦集
摘要: 1、os::commit_memory 运行jmeter,报错: Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000e0000000, 536870912, 0) failed; error='C
阅读全文
posted @ 2020-12-30 22:40 冯立挺
阅读(2271)
评论(0)
推荐(0)
下一页
公告