ImportError: cannot import name '_overlapped' 我的猜测是,您的virtualenv是使用Python创建的,具有不同的位数,而当前安装在系统中。尝试使用当前安装的Python重新创建virtualenv,然后查看asyncio是否将起作用。 – 米哈伊尔 ...
分类:
移动开发 时间:
2020-06-20 01:03:09
阅读次数:
71
##组合模式: 组合模式(Composite),将对象组合成树形结构以表示“部分整体”的层次结构。组合模式使得用户对单个对象和组合对象的使用具有一致性。 组合模式UML结构图: 组合模式的目的:让客户端不再区分操作的是组合对象还是叶子对象,而是以一种统一的方式来操作对象树,组合模式会组合出树形结构来 ...
分类:
其他好文 时间:
2020-06-19 23:27:48
阅读次数:
97
检查一下 --initial-advertise-peer-urls=https://172.16.16.80:2380 \ --listen-peer-urls=https://172.16.16.80:2380 \ --listen-client-urls=https://172.16.16.8 ...
分类:
其他好文 时间:
2020-06-19 23:16:23
阅读次数:
79
开始写后端工程: cnpm i express body-parser jwt-simple cors express-session connect-mongo mongoose -S ...
分类:
其他好文 时间:
2020-06-19 23:10:37
阅读次数:
92
1.表格高度: 在el-table标签里增加一个类名classA,然后写css样式: .classA th,.classA td{ padding:0!important; height:20px;//需要的高度 line-height:20px; } 2.表头固定,表身超过高度自动滚动 直接在el ...
分类:
其他好文 时间:
2020-06-19 21:24:58
阅读次数:
241
yum安装epel-release后yum安装软件报错 Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again 原因是epel仓库默认使用https 解决方法: 改epel文 ...
分类:
Web程序 时间:
2020-06-19 21:13:42
阅读次数:
58
Networking overview One of the reasons Docker containers and services are so powerful is that you can connect them together, or connect them to non-Do ...
分类:
Web程序 时间:
2020-06-19 16:24:16
阅读次数:
70
引言:进入本公司后,发现公司框架使用的持久层是beetlsql,按照大佬的说法,这个持久层框架只需要学习半个小时就会使用了。 起初刚进公司时还是传统ssm项目,现在升级使用springboot微服务了。所以自己特意学习整合一下。 1、引入pom.xml中的beetlsql依赖。【其他springbo ...
分类:
数据库 时间:
2020-06-19 16:13:55
阅读次数:
94
一 OpenShift网络实现 1.1 软件定义网络(SDN) 默认情况下,Docker网络使用仅使用主机虚机网桥bridge,主机内的所有容器都连接至该网桥。连接到此桥的所有容器都可以彼此通信,但不能与不同主机上的容器通信。通常,这种通信使用端口映射来处理,其中容器端口绑定到主机上的端口,所有通信 ...
分类:
其他好文 时间:
2020-06-19 14:28:45
阅读次数:
74
postgresql + pgpool 构建容灾高可用集群(数据同步流复制/主备自动切换) 整个流程分为以下几部分: postgresql-12 安装 postgresql-12 流复制配置以及验证 pgpoll-ii-4.1 安装 pgpool-ii-4.1 主备机器自动切换配置 pgpoll-i ...
分类:
数据库 时间:
2020-06-19 14:08:50
阅读次数:
61