参考:https://blog.csdn.net/zhunianguo/article/details/53155890
参考:https://blog.csdn.net/zhunianguo/article/details/53155935
1. 安装vs2017-enterprise
Visual Studio 2017(VS2017)
企业版Enterprise
注册码:NJVYC-BMHX2-G77MM-4XJMR-6Q8QF
Visual Studio 2017(VS2017)
专业版Professional
激活码key:KBJFW-NXHK6-W4WJM-CRMQB-G3CDH
2. 下载boost压缩包,解压,进入该目录,并使用Visual Studio 2017 Developer Command Prompt v15.7.6运行bootstrap.bat,然后运行.\b2,过程大概10分钟,Unknown compiler version - please run the configure tests and report the results警告没关系
添加环境变量 BOOST_ROOT 和 BOOST_LIBRARYDIR
3. 下载Dlib,解压,在命令行中进入dlib目录,然后运行python setup.py install
4. pip3 install PyHamcrest,pip3 install opencv-python