摘要: The compile script is: You forgot the -D. So you have to say, cmake -DUSE_SSE2_INSTRUCTIONS=ON(-DUSE_SSE2_INSTRUCTIONS=0) for Python 3 support use: I 阅读全文
posted @ 2019-10-25 15:18 老三的博客 阅读(1766) 评论(0) 推荐(0) 编辑
摘要: 安装与编译Dlib(以Ubuntu16.04+Python3.6+pip为例) Step1:下载Ubuntu (or Linux)系统支持库=>Install OS libraries Step 2:安装与Python版本一致的相关库=>Install Python libraries (注意:这里 阅读全文
posted @ 2019-10-25 14:47 老三的博客 阅读(1271) 评论(0) 推荐(1) 编辑
摘要: 1、ubuntu16.04自带了2.7,想要装3.6并设置为默认python版本。 安装python3.6 sudo add-apt-repository ppa:fkrull/deadsnakes sudo apt-get update sudo apt-get install python3.6 阅读全文
posted @ 2019-10-25 14:11 老三的博客 阅读(13357) 评论(0) 推荐(2) 编辑
摘要: 该错误原因是libpython3.6m.so.1.0不存在 解决方案 1.查看/usr/lib/x86_64-linux-gnu/目录下是否存在libpython3.m.so.1.0文件,或者直接全盘搜索: 2.如果不存在则重新安装一下Python3.6即可: 3.如果存在则需要设置环境变量: 阅读全文
posted @ 2019-10-25 14:05 老三的博客 阅读(10035) 评论(0) 推荐(1) 编辑
摘要: 问题ValueError: numpy.dtype has the wrong size, try recompiling解决 问题ValueError: numpy.dtype has the wrong size, try recompiling解决 问题ValueError: numpy.dt 阅读全文
posted @ 2019-10-25 13:40 老三的博客 阅读(1426) 评论(0) 推荐(0) 编辑
摘要: 错误ValueError: Object arrays cannot be loaded when allow_pickle=False的解决 错误ValueError: Object arrays cannot be loaded when allow_pickle=False的解决 错误Valu 阅读全文
posted @ 2019-10-25 13:36 老三的博客 阅读(3625) 评论(0) 推荐(0) 编辑