问题汇总
文章平均质量分 56
记录编程或测试学习中遇到的问题以及解决方案
Sally_xy
江河会流向你金色的梦里
展开
-
指令 adb devices 输出多出设备“emulator-5554 device”
指令 adb devices 输出多出设备“emulator-5554 device”原创 2022-12-21 22:36:06 · 4024 阅读 · 5 评论 -
UI Automator Viewer 启动后无法使用
UI Automator Viewer 启动后无法使用原创 2022-12-21 13:08:46 · 539 阅读 · 0 评论 -
使用 Appium 报错“... Could not find ‘apksigner.jar‘ in ...”
使用 Appium 报错“... Could not find 'apksigner.jar' in ...”原创 2022-12-20 16:46:27 · 1340 阅读 · 0 评论 -
使用 Appium 报错“... Could not find ‘adb‘ in ...”
使用 Appium 报错 “... Could not find 'adb' in ...”原创 2022-12-20 15:21:56 · 1115 阅读 · 0 评论 -
Genymotion 安装 apk 报错“... app contains ARM native code and your Genymotion device cannot run ARM ...”
Genymotion 安装 apk 报错“... app contains ARM native code and your Genymotion device cannot run ARM ...”原创 2022-12-19 12:12:30 · 1358 阅读 · 3 评论 -
Robot Framework 导入 HttpLibrary.HTTP 库失败
Robot Framework 导入 HttpLibrary.HTTP 库失败原创 2022-12-01 22:58:08 · 523 阅读 · 0 评论 -
pip 安装 livetest 失败
安装 livetest原创 2022-12-01 21:47:40 · 791 阅读 · 0 评论 -
Robot Framework中使用关键字Get Mongodb Databases报错‘Database‘ object is not callable
'Database' object is not callable原创 2022-11-27 15:49:16 · 608 阅读 · 0 评论 -
pip安装wxPython报错“Running setup.py install for wxPython ... error”
pip安装wxPython报错“Running setup.py install for wxPython ... error”1. 现象2. 问题定位3. 解决方案(1) [官网下载 Python 3.9](https://www.python.org/downloads/release/python-390/) 并安装(2) 使用 Python 3.9 的 pip 安装 wxPython4. 验证1. 现象使用 Python 3.10.2 的 pip 工具安装 wxPython 报错 “Runnin原创 2022-03-24 22:23:21 · 8074 阅读 · 1 评论 -
heroku ps 提示 “No dynos on ...”
heroku ps 提示 “No dynos on ...”1. 现象2. 问题定位3. 解决方案4. 验证1. 现象将项目推送到 Heroku 后,执行命令 heroku ps 以核实是否正确地启动了服务器进程,终端输出“No dynos on ⬢ cryptic-sea-37272”。2. 问题定位Procfile 文件格式要求为无格式的文档,并非无后缀名就行该文件我是用 Text Edit 创建的,虽无后缀名,但格式仍为纯文本文档3. 解决方案使用无格式的 Procfile 文件原创 2022-03-23 13:02:30 · 240 阅读 · 2 评论 -
pip安装psycopg2报错“Error: pg_config executable not found.”
pip安装psycopg2报错“Error: pg_config executable not found.”1. 现象2. 解决方案3. 验证1. 现象在学习部署“学习笔记”项目时,为管理 Heroku 使用的数据库,使用 pip 安装 psycopg2,安装时报错“Error: pg_config executable not found.”:2. 解决方案安装 postgresqlbrew install postgresql安装时可能会遇到问题 “No such file or d原创 2022-03-22 15:26:26 · 6229 阅读 · 6 评论 -
brew安装postgresql报错“No such file or directory @ rb_sysopen...”
brew安装postgresql报错“No such file or directory @ rb_sysopen...”1. 现象2. 解决方案3. 验证1. 现象执行 brew install postgresql时报错“No such file or directory @ rb_sysopen …”2. 解决方案用 brew 单独下载依赖包 [email protected] install [email protected]. 验证再次执行 postgresql 的安装命令,成功!(ll_原创 2022-03-22 15:21:46 · 4701 阅读 · 3 评论 -
Python项目地址迁移后虚拟环境不能直接用
Python项目地址迁移后虚拟环境不能直接用1. 现象2. 解决方案3. 验证1. 现象更换了笔记本,安装的 python 版本为3.10.2,之前的为3.10.1,将 python 的 Django 项目目录 learning_log 拷贝在新电脑上,激活虚拟环境并执行“python manage.py runserver”启动项目,报错如下:... % python manage.py runserver File "manage.py", line 17 ) from exc原创 2022-03-11 22:45:20 · 1352 阅读 · 1 评论 -
PyCharm中运行unittest提示No tests were found
1. 现象在 PyCharm 中运行 Python 的单元测试用例,提示No tests were found2. 解决方案去掉 unittest.main后面的括号,再次运行,成功!原创 2022-02-12 18:41:56 · 2129 阅读 · 0 评论 -
PyCharm中运行unittest提示找不到测试文件
1. 现象在 PyCharm 中运行 Python 的单元测试用例失败,日志中提示找不到测试文件2. 问题排查确认目录和文件无误确认代码无误仔细查阅日志,发现代码被框架 pytest 运行,而不是期望的unitest3. 解决方案更换 PyCharm 中运行该文件的 Python 解释器,换成一个未安装 pytest 的 Python 程序即可4. 验证再次运行,日志中提示 “Launching unittests …”,符合预期(然而出现了新的问题:No tests were原创 2022-02-12 18:36:29 · 2540 阅读 · 0 评论