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

py_mini_racer报错 #116

Closed
ysc2 opened this issue Dec 4, 2024 · 3 comments
Closed

py_mini_racer报错 #116

ysc2 opened this issue Dec 4, 2024 · 3 comments
Labels
question Further information is requested

Comments

@ysc2
Copy link

ysc2 commented Dec 4, 2024

import adata

# k_type: k线类型:1.日;2.周;3.月 默认:1 日k
res_df = adata.stock.market.get_market(stock_code='000001', k_type=1, start_date='2021-01-01')
print(res_df)

报错:

ImportError: cannot import name 'py_mini_racer' from 'py_mini_racer'
@1nchaos 1nchaos added the question Further information is requested label Dec 4, 2024
@1nchaos
Copy link
Owner

1nchaos commented Dec 4, 2024

朋友,你是arm 架构的机器么,arm架构需要单独处理一下,可以百度一下

@ysc2
Copy link
Author

ysc2 commented Dec 4, 2024

没有呀,我是x86机器Windows10系统,刚刚安装了 adata 之后运行一个案例就会报这个错,而且连 akshare 也会报这个错。

pip install adata

@1nchaos
Copy link
Owner

1nchaos commented Dec 5, 2024

嗯,那你重新装一下环境呢,里面包可能和其他项目冲突了

@1nchaos 1nchaos closed this as completed Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants