python tushare


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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM