摘要:
1.进入cmd,创建pip文件夹 在文件夹下创建pip.ini文件,内容如下 [global] index-url=http://pypi.douban.com/simple/[install]trusted-host=pypi.douban.com 再次执行pip install XX 成功 阅读全文
阅读排行榜
http和https支持
2018-08-10 10:56 by HQS_blog, 618 阅读, 收藏,
摘要:
请求方式支持http和https: 1.生成证书 keytool -genkey -alias tomcat -keyalg RSA -keystore E:\kaifa\apache-tomcat-6.0.35\tomcat.keystore -validity 36500 其中-validity 阅读全文
shell脚本中使用ssh链接服务器
2023-09-15 15:41 by HQS_blog, 587 阅读, 收藏,
摘要:
1.建立从服务器A-》B的ssh免密登录 2.在shell脚本中使用ssh 3.遇到的问题: 3.1 不会分配伪终端,因为stdin不是终端 Pseudo-terminal will not be allocated because stdin is not a terminal. Activate 阅读全文
allure测试报告使用
2024-06-21 17:03 by HQS_blog, 580 阅读, 收藏,
摘要:
1.生成allure数据结果文件 1.1在pytest.ini中配置allure报告的存储路径,这里用来存储allure报错的原始数据 [pytest]addopts = --alluredir=./allure-results 1.2使用pytest命令 生成allure结果文件 pytest - 阅读全文
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.pyth on.org', port=443): Read timed out.
2020-08-03 15:15 by HQS_blog, 574 阅读, 收藏,
摘要:
pip install selenium==2.48.0 报错,如下图: 百度了之后 加上pip源 pip install selenium==2.48.0 -i http://mirrors.aliyun.com/pypi/simple/ 更新升级pip python -m pip install 阅读全文
浙公网安备 33010602011771号