指数市盈率接口stock_index_pe_lg()接口求助,各位正常吗? #4800
fadeout1983
started this conversation in
General
Replies: 2 comments
-
不好意思,贴中求助chagpt的回复截图贴错了,报错原因分析是: |
Beta Was this translation helpful? Give feedback.
0 replies
-
问题已解决。python版本问题。解释器为3.10.10版本就会报错如上。换成python3.12版本可以正常运行。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
以前每日调取都正常,这几周开始调取失败。
1.代码:
import akshare as ak
stock_index_pe_lg_df = ak.stock_index_pe_lg(symbol="上证50")
print(stock_index_pe_lg_df)
2.报错:
3.库都更新到最新的了。win10,python3.10版本。
4.求助了chatgpt4,还是没有方向,不知道如何处置了,求助该如何解决,感谢感谢。
Beta Was this translation helpful? Give feedback.
All reactions