现象:设置简单密码会报错: ERROR 1819 (HY000): Your password does not satisfy the current policy requirements 原因: 原来MySQL5.…
分类:编程问答
VS之glut freeglut GLtools glew等 配置教程
freeglut 与 glut的差别: [源自百度百科] freeglut是GLUT [注1]的一个完全开源替代库。 GLUT最初是《OpenGL红皮书(第二版)》[注2]中的示例程序…
GDB调试出现no debugging symbols found
有一个工程文件夹project,下面有三个文件a.c, a.h, main.c,其中main.c依赖a.h 如果Makefile是如下所示: object=a.o main.o all:$(object) cc -o m…
module 'pandas' has no attribute 'isna'
按网上的教程,更新了一下dask发现不行,后来发现在0.21的pandas版本中,isnull()被isna()替代,如果isna()不存在的话,就试一下isnull()。 可以参考stackoverflow https…
docker 小白 windows 学习坑点记录
对docker感兴趣好久了,今天第一次打开官方文档(https://docs.docker-cn.com/)开始了学习,貌似docker 默认的学习环境是linux,所以在windos 上有一下几个坑点,再此记录一下 要…
Theano-gpu坑:ERROR (theano.gpuarray): Could not initialize pygpu, support disabled
问题描述: 运行一个较大的程序是,使用了theano-gpu。同时,使用nvidia-smi进行检测,发现这个大程序,的确调用gpu成功。但是,在使用import的时候,发现运行报错,报错信息如下。 >>&g…
日常踩坑-Could not load org.apache.catalina.loader.WebappClassLoader. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
今天webapp项目预发布tomcat启动失败,检查tomcat/logs/catalina.xxxx.log发现如下错误 Nov 15, 2017 5:05:28 PM org.apache.catalina.load…
Can not perform this action after onSaveInstanceState
1.原因 在使用fragment的时候,由于activity需要时不时的保存当前状态,所以要求fragment在父容器保存状态之前,就应该完成一些操作。 2.解决办法 1.在状态保存之前进行相关操作。(具体问题具体解答)…
AS 支持 Java 8 时遇到Could not find method jackOptions()
根据最新文档 将 Android Studio 升级至 3.0.0 或更高版本,去掉下面的配置 defaultConfig.jackOptions.enabled = true 或者 jackOptions { enab…
二、pyserial1.0---win32file
我看最新的pyserial代码发现看不懂~Σ( ° △ °|||)︴,尝试用跑跑看一看效果,debug跟一跟流程的方式来熟悉理解,发现·······转太多弯啦!!!根本就hold不过来啊!脑容量跟基本功都不够啊!于是想着…
英语学习|Active and Passive Euthanasia
James Rachels Abstract The traditional distinction between active and passive euthanasia requires critical ana…
ModuleNotFoundError: No module named 'django.templates'
主要是因为在模块中创建了template目录,后改名为templates,所以就将settings.py中一些配置文件改了 解决方法: image.png 然后会有修改前和修改后的配置文件对比 改为修改前的即可