![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
问题踩坑
文章平均质量分 73
问题踩坑
Lili Liang
M.S. student @Carnegie Mellon University, SDE Full-time @ByteDance | GitHub: https://github.com/leungll | Contact me: l.liang0316@gmail.com.
展开
-
解决Springboot + MyBatis框架“Cause: org.springframework.jdbc.CannotGetJdbcConnectionException”问题
目录1 出错类型一(连接MySQL失败)2 出错类型二(MySQL密码错误)3 出错类型三(XXXMapper.xml中SQL语句语法问题)前言:最近用springboot写项目的时候,写Dao层测试利用MyBatis访问数据库遇到了bug,困扰了一两天,因此记录一下。1 出错类型一(连接MySQL失败)### Cause: org.springframework...原创 2019-05-05 00:35:45 · 99459 阅读 · 29 评论 -
解决Ubuntu18.04启动Docker“Got permission denied while trying to connect to the Docker daemon socket“问题
目录1 问题描述2 原因分析3 解决方法4 检查是否更新成功1 问题描述在终端执行"docker version"命令,出现如下报错:”Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://...原创 2019-06-15 12:33:58 · 89430 阅读 · 25 评论 -
解决C/C++报错error: cannot pass objects of non-trivially-copyable type ‘std::string’问题
目录1.问题描述2.原因分析3.解决方法1.问题描述运行程序时,编译报错:error: cannot pass objects of non-trivially-copyable type ‘std::string {aka struct std::basic_string}’ through ‘…’|2.原因分析报错显示在这一行:printf("%c %s %lld %lld\...原创 2019-08-29 22:49:34 · 40415 阅读 · 8 评论 -
解决Ubuntu安装TensorFlow成功,import报错“ No module named ‘tensorflow‘ “问题
目录1 关于"ReadTimeOutError"2 问题描述3 原因分析4 解决方法5 验证前言:这几天寻思着在Linux下折腾一下Tensorflow,结果终端疯狂地提示“ReadTimeOutError”之后,今天终于“村里通网”成功装上了。1 关于"ReadTimeOutError"安装命令(pip3方式):sudo pip3 install tensorflow如果你在输...原创 2020-03-04 17:21:13 · 6151 阅读 · 1 评论 -
解决import tensorflow报错TypeError: __new__() got an unexpected keyword argument ‘serialized_options‘问题
目录1 问题描述2 原因分析3 解决方法4 验证1 问题描述进入python3,import tensorflow后,终端报错:TypeError: new() got an unexpected keyword argument ‘serialized_options’2 原因分析protobuf与tensorflow版本不匹配问题,网上大家给出了几种解决方法:使用命令:pi...原创 2020-03-04 17:54:16 · 6257 阅读 · 2 评论