![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
debug
automan_huyaoge
对智能机器人,无人驾驶感兴趣
展开
-
opencv报错
1. ubuntu2020安装opencv报错cv2.error: OpenCV(4.3.0) /home/XXX/YYY/opencv-4.3.0/modules/highgui/src/window.cpp:651: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubu.转载 2020-11-30 21:42:33 · 795 阅读 · 0 评论 -
python在多线程中调用so文件报错
报错原因:多线程同时调用同一个函数,会发生资源冲突解决方案:在接口函数中添加互斥锁,代码如下#include <mutex> // std::mutexmutex m_mutex;void fun(){ m_mutex.lock(); state_ment1; state_ment2; . . . m_mutex.unlock(); }...原创 2020-11-12 16:35:47 · 400 阅读 · 0 评论 -
mysql模糊查询单引号 ‘报错
执行sql语句SELECT XX from yy.zz WHERE aa LIKE '%'%';报错Error Code:1064修改sql语句SELECT XX from yy.zz WHERE aa LIKE '%\\'%';python语句def FuzzyQuery(Qtable, Qcolumn, str): if int(Qtable) not in [0,1,2] or int(Qcolumn) not in [0,1,2,3,4]: .原创 2020-11-04 11:37:08 · 710 阅读 · 0 评论 -
django使用mysql model报错
django.db.utils.InternalError: 1366django使用mysql model报错,解决方法参考:https://blog.csdn.net/weixin_43744799/article/details/85388272?biz_id=102&utm_term=django.db.utils.InternalError:&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaid转载 2020-09-29 11:44:33 · 109 阅读 · 0 评论 -
python打开文件报错的解决方法
源代码: with open(xml_file,'r') as f: content_all = f.readlines()报错: File "/usr/lib/python3.6/codecs.py", line 321, in decode (result, consumed) = self._buffer_decode(data, self.errors, final)UnicodeDecodeError: 'utf-8' codec can't dec...原创 2020-06-23 11:50:19 · 2933 阅读 · 0 评论