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