问题: execjs._exceptions.ProgramError: ReferenceError: window is not defined 解决: 定义一个就行 var window = {}; 然后再看它读了window的哪些属性 都补上就行…
报错内容: Error response from daemon: conflict: unable to delete f5b6ef70d79b (must be forced) - image is being used by stopped container 0a740a8a885c 解决办法: 先删除容器,再删除镜像 删除所有已停止的容器 docker rm $(docker ps -a -q) 删除所有镜像 docker rmi $(docker images -q) 强制删除 强制…
启动redis时出现的报错内容: 解决方法: 找到登录状态 如果是网络服务,直接双击此服务,修改为本地系统服务即可启动!…
报错代码: pip3 install gerapy 报错内容: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Users/mac/Ana 解决: sudo pip3 install gerapy…
问题: windows下安装Redis第一次启动报错: [2368] 21 Apr 02:57:05.611 # Creating Server TCP listening socket 127.0.0.1:6379: bind: No error 解决: 在命令行中运行 redis-cli.exe 127.0.0.1:6379>shutdown not connected>exit 然后重新运行 redis-server.exe redis.windows.conf 启动成功! from:…
报错代码如下: filePath='test.xls' data=pd.read_excel(filePath) print(data.head()) 报错内容如下: Traceback (most recent call last): File "e:/PyCharm/Demo/TestFileDirectory/test.py", line 18, in <module> data=pd.read_excel(filePath,data__only=True) File…
报错代码: new_x = 84610 pre_y = model.predict(new_x) print(pre_y) 报错结果: ValueError: Expected 2D array, got scalar array instead: array=84610. Reshape your data either using array.reshape(-1, 1) if your data has a single feature or array.reshape(1, -1) if…
报错代码: import pandas as pd pd1 = pd.read_csv('D:/python34/program/wx_chat_single/qq_single.csv') 报错内容: D:\python34\python.exe D:/python34/program/wx_chat_single/t1.py sys:1: DtypeWarning: Columns (18) have mixed types. Specify dtype option on import o…
安装OpenCV过程中出现错误 代码: pip-conda install -i https://pypi.douban.com/simple/ opencv-python 报错内容如下: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Users/mac/Anaconda/anaconda3/lib/python3.7/site-packages/cv2/__init_…
输出报错: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 220: in 解决方案:将编码方式utf-8 修改为gb18030 例如: requests.get(url,headers).content.decode('gb18030')…
解决:更新安装service_identity pip3 install service_identity --force --upgrade…
问题: added 246 packages from 681 contributors and audited 382 packages in 17.509s found 13 vulnerabilities (4 low, 6 moderate, 2 high, 1 critical) run `npm audit fix` to fix them, or `npm audit` for details 解决: npm audit fix --force…
问题代码: res = requests.post(getXxxxList_url, headers=headers, data={}) 对象网站: angular4 apache 通过验证 (cookie,x-??-key) payload: 空对象(实际登录在network里查看的) {} 爬取结果: Required request body is missing 解决方案: import json import requests # ...略... body = {} res = req…
docker compose将解析版本为"2",而不是"3.3".应该改为: version: "2"…
为了永久性保留更改,您可以修改 /etc/docker/daemon.json 文件并添加上 registry-mirrors 键值. { "registry-mirrors": ["https://registry.docker-cn.com"] } 修改保存后重启 Docker 以使配置生效.…
cmd中敲命令: python -m ensurepip 更新升级pip命令: python -m pip install --upgrade pip…
1.下载对应的Twisted,下载地址:https://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted 2.通过Anaconda3的Anaconda Prompt进行安装 3.具体步骤: (1) cd 下载的文件地址,如本人的:cd F:\下载 (2)pip install Twisted-19.2.1-cp37-cp37m-win_amd64.whl from: https://blog.csdn.net/HPU_CPD/article/details/…
解决方案:开头加上 # -*- coding: utf-8 -*…
原因:openpyxl版本低,需升级 pip install --upgrade openpyxl…
安装nest_asyncio pip install nest_asyncio 导入并调用 import nest_asyncio nest_asyncio.apply()…
[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build. add resolve: { /**解决报错 [Vue warn]: You are using the run…
解决报错:import sun.misc.BASE64Decoder无法找到 2017年09月29日 16:03:26 chaoyu168 阅读数:2116 标签: sun.misc.BASE64DecodBASE64.jar 更多 个人分类: AndroidJava 所属专栏: Android开发   版权声明:本文为博主原创文章,转载请标明出处. https://blog.csdn.net/chaoyu168/article/details/78134807 项目中import sun.mi…
解决vue不相关组件之间的数据传递----vuex的学习笔记,解决报错this.$store.commit is not a function https://www.cnblogs.com/jasonwang2y60/p/6433082.html…
原创文章,转载请注明出处. coures curses 库 ( ncurses )提供了控制字符屏幕的独立于终端的方法.curses 是大多数类似于 UNIX 的系统(包括Linux)的标准部分,而且它已经移植到 Windows 和其它系统. 安装包   http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses 安装   pip install whl文件名 可以应对python程序的报错: from _curses import * ImportErr…
好家伙,来解决报错:axios is not defined 写前端嘛,修bug,不寒颤 进入页面一片空白 来看看报错: 1.axios在安装时:npm install axios --save-dev 2.在项目中的main.js文件中添加配置: import axios from 'axios' Vue.prototype.$axios = axios 3.将组件中调用axios的语句 axios.post //get,catch之类的,改法一样 改为 this $axios.post 于是…
好家伙,来解决报错 1.新建项目时, 将SQL的" Spring Date 'jdbc' "点上 2.使用idea快速创建springboot项目时会出现连接不到服务器的情况 这里我们手动自定义URL http://start.springboot.io/ 就可以了 3.配置文件报错之 Cannot resolve class or package 'jdbc' Cannot resolve class or package 'Driver' 解决方法:   将此处scope属性修改为…
使用jmeter执行加密登录接口的测试遇到的问题. 问题记录: 今天使用jmeter执行加密登录接口的测试,因为测试环境的应用包是以前的老版本(可能有两年了),所以需要替换加密文件:security.js //jmeter JSR223 预处理程序 load("security.js"); //pwd1 = vars.get("passwd"); function RSA(){ var exponent = "10001"; var modulu…
vuepress & ReferenceError: window is not defined bug Client Compiled successfully in 15.35s Server Compiled successfully in 8.27s wait Rendering static HTML... error Error rendering /guide/: false undefined error Error rendering /config/: false undef…