Linux:
1、install.sh
1)./configure 執行問題:
錯誤:no acceptable C compiler found in $PATH
解決:sudo apt-get install gcc
錯誤:C compiler cannot create executables
解決:sudo apt-get install libc6-dev
2)make -j
錯誤:Command 'make' not found
解決:sudo apt-get install make
錯誤:Memory exhausted
原因:1G內存,服務器亂殺進程,安裝會極其緩慢且內存溢出
解決:開啟swap, 方法: github.com/vnpy/vnpy/wiki/阿里雲服務器安裝vn.py(Ubuntu-16.04-LTS)
3)python -m pip install -r requirements.txt
錯誤:pg_config executable not found(psycopg2安裝時出現的問題)
解決:sudo apt-get install libpq-dev
5)python -m pip install .
錯誤:gcc: error trying to exec 'cc1plus': execvp: No such file or directory
解決:sudo apt-get install g++