环境说明:win10 专业版python 2.7.16django 1.11.9 遇到的问题:python的库中已经安装了mysqlclient&MySQL两个库,debug的时候还是报错: No module named MySQLdb.Did you install mysqlclient or ...
分类:
数据库 时间:
2020-06-16 15:40:49
阅读次数:
130
_logger.LogInformation("你访问了首页"); _logger.LogWarning("警告信息"); _logger.LogError("错误信息"); 使用DI 直接可以使用对象。 你会发现日志信息输出来的是乱码,这里我们要指定输出格式。 需要添加 System.Text.E ...
分类:
Web程序 时间:
2020-06-16 15:12:17
阅读次数:
112
package com.android.demo.lileidemo.listener;import android.content.BroadcastReceiver;import android.content.Context;import android.content.Intent;impo ...
分类:
其他好文 时间:
2020-06-16 14:46:47
阅读次数:
53
一、目录及配置文件: cd /etc/netplan vim 01-network-manager-all.yaml 二、静态ip配置方式: 01-network-manager-all.yaml.static # Let NetworkManager manage all devices on t ...
分类:
系统相关 时间:
2020-06-16 13:32:16
阅读次数:
165
1、异常提示:DEBUG [restartedMain] io.netty.util.internal.PlatformDependent0 (261)- direct buffer constructor: unavailable java.lang.UnsupportedOperationExc ...
分类:
数据库 时间:
2020-06-16 13:29:53
阅读次数:
64
共有三种方法,推荐使用方法三: 1. 使用1.8版本的appium desktop 好处是方便,坏处是不能跟上潮流,一直用之前的版本。真的感觉不开心。 2. 替换 应该是官方的appium-uiautomator2-server-debug-androidTest.apk有问题,换个版本替换下这个a ...
分类:
移动开发 时间:
2020-06-16 01:23:50
阅读次数:
335
com.jcraft.jsch.JSchException: Algorithm negotiation fail at com.jcraft.jsch.Session.receive_kexinit(Session.java:582) at com.jcraft.jsch.Session.conn ...
分类:
Web程序 时间:
2020-06-15 22:35:34
阅读次数:
134
在pom文件加入 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skipTests>true</skipTest ...
分类:
Web程序 时间:
2020-06-15 18:05:30
阅读次数:
118
解决方案:修改~/.docker/daemon.json文件,在后面加入:{ "registry-mirrors":["https://docker.mirrors.ustc.edu.cn"]} 改成这样的格式,感觉速度块了很多 {"debug":true,"experimental":false, ...
分类:
其他好文 时间:
2020-06-15 15:40:31
阅读次数:
87
版本:QT5.2, Windows10 操作系统 1. 如果只在计算机上安装了VS2015,那么下图所示的MSVC2015的编译器图标会是一个黄色的感叹号,,Debuggers页面没有Windows的CDB调试器,此时可以用MSVC编译器对Qt Creator编写的程序进行编译,但是不能调试,这是因 ...
分类:
数据库 时间:
2020-06-15 13:41:43
阅读次数:
79