首页 > 其他 > 详细

Vnpy安装问题汇总--持续更新中

时间:2019-06-20 09:56:23      阅读:294      评论:0      收藏:0      [点我收藏+]

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

Vnpy安装问题汇总--持续更新中

原文:https://www.cnblogs.com/GavinSimons/p/11056879.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!