问题背景 在ContOS服务器上测试项目 解决方案 谷歌查询 解决步骤 降低matplotlib版本至2.2.2 pip3 install matplotlib==2.2.2 出现新的问题,ImportError: Matplotlib qt-based backends require an ex ...
分类:
编程语言 时间:
2020-07-03 23:38:57
阅读次数:
347
[TOC]## 1. librosa`pip install librosa`但是,在Xubuntu 20.04环境上 `import librosa` 报错:```ModuleNotFoundError: No module named 'numba.decorators'```解决:使用最新的n... ...
分类:
编程语言 时间:
2020-07-03 21:34:53
阅读次数:
142
1、v-on:用于绑定HTML事件 v-on,用于事件(如click)的监听绑定,比如下图,意思是,为当前button绑定监听器,点击则调用sendBack1方法;v-on也可简写为@ 示例:例如我们在HTML的body中加入一个绑定了事件的button <div id="app"> <button ...
分类:
Web程序 时间:
2020-07-03 19:13:28
阅读次数:
71
拿button组件举例 。 button.vue <template> <Button v-bind="$attrs"> <slot></slot> </Button> </template> <script> import {Button} from "element-ui"; export de ...
分类:
其他好文 时间:
2020-07-03 15:51:48
阅读次数:
113
call,apply,bind call,apply,bind这三者的区别,及内部实现原理,点这里 promise promise函数的内部实现原理 ...
分类:
其他好文 时间:
2020-07-02 18:34:43
阅读次数:
67
1.保证虚拟机安装Redis 2.修改Redis配置文件 2.1 关闭Redis配置保护2.2 注释bind绑定IP2.3 设置Redis访问密码 3. 修改虚拟机设置 3.1 添加主机端口转发虚拟机 4. 关闭虚拟机防火墙 ...
分类:
其他好文 时间:
2020-07-02 10:43:07
阅读次数:
114
其中:2env为使用virtualenv创建的虚拟环境,xxx.py为我要运行的python程序 (2env) [root@xxxx]$ /gunicorn xxx.pyCould not find platform dependent libraries <exec_prefix>Consider ...
分类:
其他好文 时间:
2020-07-01 20:46:07
阅读次数:
84
其中:2env为使用virtualenv创建的虚拟环境, lianxi目录为我已下载好各类的离线库包(按自己的使用需要去下载),ceshi3.txt是我本次想要安装的库列表 (2env) [root@xxxx]$ ./2env/bin/python wsgi.py[warning] no local ...
分类:
其他好文 时间:
2020-07-01 20:39:52
阅读次数:
65
2env为我使用virtualen创建的虚拟python环境,我的本地要使用的各类库已下载到文件夹lianxi下面,ceshi2.txt为我要安装的各类库包列表 (2env) [root@xxxxxxx]$ ./2env/bin/python wsgi.pyTraceback (most recen ...
分类:
编程语言 时间:
2020-07-01 20:37:26
阅读次数:
58
#!/bin/bash yum -y install epel-release yum -y update yum -y remove firewalld yum -y install iptables iptables-services yum -y install gcc vim wget ma ...
分类:
Web程序 时间:
2020-07-01 20:32:05
阅读次数:
238