报错信息: HTTPConnectionPool(host=''xx.xx.xx.xx', port=xx): Max retries exceeded with url: (Caused by NewConnectionError('<urllib3.connection.HTTPConnecti ...
分类:
编程语言 时间:
2019-10-12 18:31:05
阅读次数:
70
安装:pip install xlwings 基本操作: ...
分类:
编程语言 时间:
2019-10-10 16:04:17
阅读次数:
91
pip是python包管理工具,提供了对python包的查找,下载,安装,卸载功能。 检查是否安装 pip --version 安装 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py #下载安装脚本 python get-pip.py # ...
分类:
其他好文 时间:
2019-10-10 14:07:46
阅读次数:
82
环境准备OS: MAC 10.14Python: 3.7.4django: 2.2.3 安装pipsudo easy_install pip安装pip执行pip3 -V可以查看pip版本,看是否为pip3,默认安装python3时会自动安装pip3 安装python3brew install pyt... ...
分类:
其他好文 时间:
2019-10-08 23:41:59
阅读次数:
147
整理了下Macaca的API,做成思维脑图,方便阅览。 WebDriver 安装 pip install wd git clone https://github.com/macacajs/wd.py.git 初始化WebDriver driver.init() 停止WebDriver driver. ...
分类:
编程语言 时间:
2019-10-07 13:14:11
阅读次数:
99
使用Python操作MySQL数据库 一、安装PyMySQL的安装 pip install pymysql 二、连接数据库步骤 pymysql连接数据库的必要参数:主机、端口、用户名、密码、数据库 注:pymysql不能提供创建数据库的服务,数据库要提前创建 三、创建表 四、插入数据 五、删除数据 ...
分类:
数据库 时间:
2019-10-07 13:13:41
阅读次数:
110
一、基础 1.1安装 pip直接安装 1.2.需要先了解的一些知识 理解下面两个知识点非常重要,django-rest-framework源码中到处都是基于CBV和面向对象的封装 (1)面向对象封装的两大特性 (2)CBV 基于反射实现根据请求方式不同,执行不同的方法 原理:url-->view方法 ...
分类:
其他好文 时间:
2019-10-07 09:27:01
阅读次数:
76
一、安装 pip install celery pip install django-celery-beat pip install django-celery-results pip install redis 安装这4个库 请注意不是django-celery、django-redis、cele ...
分类:
其他好文 时间:
2019-10-05 20:23:00
阅读次数:
141
1.keras_bert 和 kert4keras keras_bert 是 CyberZHG 大佬封装好了Keras版的Bert,可以直接调用官方发布的预训练权重。 github:https://github.com/CyberZHG/keras-bert 快速安装:pip install ker ...
分类:
其他好文 时间:
2019-10-05 18:49:02
阅读次数:
681
VS code下使用python拓展,通常会提示安装pip。 pip 是一个现代的,通用的 Python 包管理工具。提供了对 Python 包的查找、下载、安装、卸载的功能。 安装pip 使用一下脚本: ...
分类:
系统相关 时间:
2019-10-03 23:56:00
阅读次数:
211