Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP Error 456 (run fetch_data.py) #6

Open
smileyung opened this issue Aug 14, 2018 · 1 comment
Open

HTTP Error 456 (run fetch_data.py) #6

smileyung opened this issue Aug 14, 2018 · 1 comment

Comments

@smileyung
Copy link

python fetch_data.py
/home/smilewater/anaconda3/envs/tensorflow-gpu/lib/python3.6/importlib/_bootstrap.py:205: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
return f(*args, **kwds)
[Getting data:]###################################################HTTP Error 456:
#HTTP Error 456:
HTTP Error 456:
HTTP Error 456:
Traceback (most recent call last):
File "fetch_data.py", line 52, in
get_all_history('000002', start='1995-01-01')
File "fetch_data.py", line 47, in get_all_history
df = ts.get_h_data(stock_index, start=start, autype=autype)
File "/home/smilewater/anaconda3/envs/tensorflow-gpu/lib/python3.6/site-packages/tushare/stock/trading.py", line 440, in get_h_data
retry_count, pause)
File "/home/smilewater/anaconda3/envs/tensorflow-gpu/lib/python3.6/site-packages/tushare/stock/trading.py", line 572, in _parse_fq_data
raise IOError(ct.NETWORK_URL_ERROR_MSG)
OSError: 获取失败,请检查网络.

@artsmn
Copy link

artsmn commented Dec 21, 2018

Did you find any solutions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants