
Debug错误集锦
^_^妖言惑眾
这个作者很懒,什么都没留下…
展开
-
安装yotta出错
项目场景:安装yotta出错问题描述:ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.spyder 5.1.5 requires pyqt5<5.13, which is not installe原创 2022-02-23 16:30:23 · 1163 阅读 · 0 评论 -
Ubuntu16.04安装eigen3
编译错误:error: ‘face::EigenFaceRecognizer’ has not been declared model_ = face::EigenFaceRecognizer::create(config.model_num_components, ^~~~~~~~~~~~~~~~~~~/hom...原创 2020-04-12 13:48:06 · 3422 阅读 · 0 评论 -
error: expected constructor, destructor, or type conversion before ‘(’ token PLUGINLIB_DECLARE_CLAS
编译错误:/home/star/rikirobot/catkin_ws/src/depth_camera/depthimage_to_laserscan/src/DepthImageToLaserScanNodelet.cpp:60:24: error: expected constructor, destructor, or type conversion before ‘(’ token ...原创 2020-04-12 13:33:56 · 4364 阅读 · 0 评论 -
Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
qmake: could not exec '/usr/lib/aarch64-linux-gnu/qt4/bin/qmake': No such file or directoryCMake Error at /usr/share/cmake-3.10/Modules/FindQt4.cmake:1320 (message): Found unsuitable Qt version "" ...原创 2020-04-10 18:31:39 · 6961 阅读 · 3 评论 -
CMake Error at /opt/ros/melodic/share/catkin/cmake/assert.cmake:20 (message)
buntu18.04编译时出现如下错误:CMake Error at /opt/ros/melodic/share/catkin/cmake/assert.cmake:20 (message): Assertion failed: file '/usr/lib/arm-linux-gnueabihf/librt.so' does not exist. Message: RT L...原创 2020-04-10 18:25:00 · 10408 阅读 · 12 评论 -
UnicodeDecodeError: 'gbk' codec can't decode byte 0xae in position 6452: illegal multibyte sequence
UnicodeDecodeError: 'gbk' codec can't decode byte 0xae in position 6452: illegal multibyte sequence)出现的问题:E:\yolov3-keras-master>python convert2keras_weights.py yolov3.cfg yolov3.weights pret...原创 2019-05-23 09:49:59 · 3937 阅读 · 0 评论 -
Command "python setup.py egg_info" failed with error code 1 in C:\Users\ADMINI~1\AppData\Local\Temp\
Command "python setup.py egg_info" failed with error code 1 in C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-dzs8ox0h\Shapely\Anaconda安装imgaug错误 Using cached https://files.pythonhosted.org/pack...原创 2019-04-24 14:18:37 · 5945 阅读 · 0 评论 -
TypeError: Layout of the output array img is incompatible with cv::Mat
@[toc](TypeError: Layout of the output array img is incompatible with cv::Mat (step[ndims-1] != elemsize or step[1] != elemsize*nchannels))使用cv2.rectangle()的时候出错误,如图:Traceback (most recent call l...原创 2019-04-28 14:25:59 · 2093 阅读 · 0 评论 -
ImportError: numpy.core._multiarray_umath failed to import
ImportError: numpy.core._multiarray_umath failed to import ImportError: numpy.core.umath failed to import出现错误的原因就是numpy版本的问题解决方法就是卸载重现安装pip uninstall numpypip install numpy...原创 2019-04-27 23:46:10 · 6647 阅读 · 4 评论 -
运行tensorflow出现警告的解决方法
Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA1.问题2.解决方式2.1 忽略警告2.1用源代码安装tensorflow1.问题运行tensorflow时遇到了这样的问题:2019-04-27 23:01:27.5...原创 2019-04-27 23:41:52 · 12346 阅读 · 4 评论 -
ImportError: cannot import name '_validate_lengths'
ImportError: cannot import name '_validate_lengths'ImportError: cannot import name '_validate_lengths’错误, 如图:Traceback (most recent call last): File "C:/Users/Administrator/Desktop/detect_stee...原创 2019-04-27 15:37:24 · 4264 阅读 · 2 评论 -
anaconda3安装imgaug库
anaconda 安装imgaug库直接在Anaconda Prompt窗口输入以下命令pip install imgaug安装的时候出现以下错误,如图所示:Command "python setup.py egg_info" failed with error code 1 in C:\Users\ADMINI~1\AppData\Local\Temp\pip-instal...原创 2019-04-27 15:22:35 · 2068 阅读 · 1 评论 -
RuntimeError: output with shape [1, 28, 28] doesn't match the broadcast shape [3, 28, 28]
RuntimeError: output with shape [1, 28, 28] doesn't match the broadcast shape [3, 28, 28]在跑Pytroch的MNIST手写识别例子时,碰到了shape不匹配的错误,错误指向:images, labels = next(iter(data_loader_train)) 在尝试过多次之后,发现错...原创 2019-03-24 16:32:34 · 45517 阅读 · 44 评论 -
NameError: name 'save_fig' is not defined
NameError: name 'save_fig' is not definedimport matplotlib.pyplot as pltsave_fig("attribute_histogram_plots")编译错误,NameError: name ‘save_fig’ is not defined,如图:/usr/local/bin/python3.6 /Users/z...原创 2019-03-22 15:03:23 · 10021 阅读 · 0 评论 -
Error [SSL: CERTIFICATE_VERIFY_FAILED]
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)>如下错误显示下载资源时由于证书验证失败导致无法下载资源。Traceback (most recent call last): File "/Library/...原创 2019-03-22 11:30:13 · 1719 阅读 · 0 评论 -
AttributeError: module 'sklearn' has no attribute 'linear_model'
AttributeError: module 'sklearn' has no attribute 'linear_model'在调用sklearn库的时候出现错误,不能正确显示。import sklearnmodel = sklearn.linear_model.LinearRegression()错误如图所示:Traceback (most recent call las...原创 2019-03-21 23:33:44 · 7316 阅读 · 1 评论 -
尝试将 SCRIPT DHFactor 作为函数执行: E:\matlab2017\toolbox\rvctools\robot\DHFactor.m
尝试将 SCRIPT DHFactor 作为函数执行:E:\matlab2017\toolbox\rvctools\robot\DHFactor.mMatlab编译错误:尝试将 SCRIPT DHFactor 作为函数执行:E:\matlab2017\toolbox\rvctools\robot\DHFactor.m是不是想输入: >> dh = DHfactor(s) ...原创 2019-03-18 09:44:24 · 8564 阅读 · 4 评论 -
OpenCV Error: Assertion failed (size.width>0 && size.height>0) in imshow
OpenCV Error: Assertion failed (size.width&amp;amp;gt;0 &amp;amp;amp;&amp;amp;amp; size.height&amp;amp;gt;0) in imshow刚刚接触OpenCV的菜鸟,在运行《OpenCV3编程入门》第一个程序时就出现了错误,如下图所示。程序如下:1 #include&amp;amp;lt;opencv2/opencv原创 2018-09-21 18:34:15 · 10568 阅读 · 8 评论