Skip to content

Latest commit

 

History

History
executable file
·
53 lines (39 loc) · 822 Bytes

install_for_mac.md

File metadata and controls

executable file
·
53 lines (39 loc) · 822 Bytes

QUANTAXIS 的安装 MAC篇

1. python

brew install python3

2. QUANTAXIS

git clone https://github.com/yutiansut/quantaxis --depth 1
cd quantaxis .
sudo python3.6 -m pip install -r requirements.txt -i https://pypi.doubanio.com/simple
sudo python3.6 -m pip install tushare
sudo python3.6 -m pip install pytdx

python3.6 -m pip install -e .

3. MONGODB

安装mongodb:

brew update
brew install mongodb

创建数据库文件:

sudo mkdir -p /data/db

然后需要输入你的密码

启动mongodb

sudo mongod

继续输入你的密码