-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Tushare on Centos 7安装详解
zj519718645 edited this page Sep 18, 2017
·
1 revision
考虑到诸位可能安装TUSHARE有点问题,本文详述了在Ceontos 7上如何安装Tushare。 (以下内容均是以root身份执行)
=========================================
zypper install python
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
pip install pandas
pip install lxml
pip install requests
pip install bs4
```
### 安装tushare
```
pip install tushare
```
!!!! 如果你不需要保存数据到本地,您可以到此结束。 如果您还需要把数据下载到本地数据库(以mysql为例)
### 安装sqlalchemy
```
pip install sqlalchemy
```
### 安装mariadb和其他库
```
yum -y mariadb-server
yum -y install MySQL-python.x86_64
yum -y install httpd
yum -y install php php-mbstring php-pear
yum -y install phpMyAdmin php-mysql php-mcrypt
```