1.安装tushare前先安装lxml和pandas(我是win32下python3.4.0)
2.安装lxml,下载地址https://pypi.python/pypi/lxml/3.4.2
3.pandas,下载地址https://pypi.python/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/pypi/tushare/
解压后进入文件目录进行安装,python setup.py install
发布者:admin,转转请注明出处:http://www.yc00.com/web/1742287510a4415588.html
评论列表(0条)