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