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

Linux:python

一、install.shgit

1)./configure 執行問題:
錯誤:no acceptable C compiler found in $PATH
解決:sudo apt-get install gccgithub

錯誤:C compiler cannot create executables
解決:sudo apt-get install libc6-dev服務器

2)make -j
錯誤:Command 'make' not found
解決:sudo apt-get install makeui

錯誤: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++ip

相關文章
相關標籤/搜索