phantomjs安装时出现的一个错误
Do you want to continue (Y/n)? y
Executing in /usr/lib/python2.7/site-packages/pyspider/phantomjs: git submodule init
Executing in /usr/lib/python2.7/site-packages/pyspider/phantomjs: git submodule update --init
正克隆到 'src/qt/3rdparty'...
fatal: unable to access 'https://github.com/Vitallium/phantomjs-3rdparty-win.git/': Peer's Certificate has expired.
无法克隆 'https://github.com/Vitallium/phantomjs-3rdparty-win.git' 到子模组路径 'src/qt/3rdparty'
ERROR: Failed to build PhantomJS! Initial update of git submodules failed.
主要看这句:Peer's Certificate has expired. 验证未通过
经查 默认系统时间与正常时间差别过大,导致验证报错 调整时间正常后 错误消失 。
语法为 date -s 20160331