Skip to content

在main_api_server.py中找不到src.DataAcquirer #450

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

Open
lagelangridaye opened this issue Apr 16, 2025 · 3 comments
Open

在main_api_server.py中找不到src.DataAcquirer #450

lagelangridaye opened this issue Apr 16, 2025 · 3 comments
Labels
未跟进问题(Stale) 长期未更新的议题

Comments

@lagelangridaye
Copy link

Image
Copy link

dosubot bot commented Apr 16, 2025

Hello @lagelangridaye! I'm here to help you with any bugs, questions, or contributions you might have. While you wait for a human maintainer, feel free to share your issue, and let's get started on solving it together!

The src directory does contain a DataAcquirer.py file, which should include the Comment and Live modules [1]. If you're encountering issues with these imports in main_api_server.py, it might be due to a few reasons:

  1. File Location: Ensure that DataAcquirer.py is indeed located within the src directory and that the path is correct.

  2. Module Definitions: Verify that Comment and Live are correctly defined within DataAcquirer.py. They should be classes or functions that can be imported.

  3. IDE Configuration: Sometimes, IDEs might not recognize the project structure correctly. Ensure that your IDE is configured to recognize the src directory as part of the Python path.

  4. Python Path: Check if the Python path is set correctly in your environment. You might need to add the src directory to the Python path manually.

If these steps don't resolve the issue, consider checking for any recent changes or commits that might have affected the DataAcquirer module.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@JoeanAmier
Copy link
Owner

上古时代的代码

Copy link

⚠️ 此 Issue 已超过一定时间未活动,如果没有进一步更新,将在 14 天后关闭。
⚠️ This issue has been inactive for a certain period of time. If there are no further updates, it will be closed in 14 days.

@github-actions github-actions bot added the 未跟进问题(Stale) 长期未更新的议题 label May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
未跟进问题(Stale) 长期未更新的议题
Projects
None yet
Development

No branches or pull requests

2 participants