Open newmann opened 4 years ago
I have the same problem, and my python version is py3.6
me too!
Same issues here.
@newmann @wwdlook @libsyc Do you all already have solution on this issue?
Fixed this issue by upgrading to latest tushare latest version, with following commands:
pip install tushare --upgrade
python : 3.7.1 pandas : 1.0.0 tushare: 1.2.48
import tushare 报错: Traceback (most recent call last): File "", line 1, in
File "c:\dev\Anaconda3\envs\tushare\lib\site-packages\tushare__init.py", line 11, in
from tushare.stock.trading import (get_hist_data, get_tick_data,
File "c:\dev\Anaconda3\envs\tushare\lib\site-packages\tushare\stock\trading.py", line 24, in
from tushare.stock.fundamental import get_stock_basics
File "c:\dev\Anaconda3\envs\tushare\lib\site-packages\tushare\stock\fundamental.py", line 19, in
from pandas.compat import StringIO
ImportError: cannot import name 'StringIO' from 'pandas.compat' (c:\dev\Anaconda3\envs\tushare\lib\site-packages\pandas\compat\ init__.py)