Vnpy安裝問題匯總--持續更新中


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++


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM