python tushare安装

论坛 期权论坛 编程之家     
选择匿名的用户   2021-5-24 07:13   35   0

1.安装tushare前先安装lxml和pandas(我是win32下python3.4.0)

2.安装lxml,下载地址https://pypi.python.org/pypi/lxml/3.4.2

3.pandas,下载地址https://pypi.python.org/pypi/pandas

4.安装pandas时提示需要安装requests,先安装requests,easy_install requests

5.下载的pandas包是.whl包,要先安装wheel,pip install wheel

6.安装pandas,提示"is not a supported wheel on this platform".

shell中,输入import pip; print(pip.pep425tags.get_supported())进行查看,然后将.whl文件改名为pandas-0.20.0rc1-cp34-none-win32.whl

再安装pandas

7.下载tushare,https://pypi.python.org/pypi/tushare/

解压后进入文件目录进行安装,python setup.py install

转载于:https://www.cnblogs.com/jdm532000/p/6763845.html

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP