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

An exception occurred when running langflow using the source code. #5747

Open
WXCMYDEARMELAN opened this issue Jan 17, 2025 · 1 comment
Open
Labels
bug Something isn't working

Comments

@WXCMYDEARMELAN
Copy link

Bug Description

console log:
AttributeError: partially initialized module 'asyncio' has no attribute 'get_running_loop' (most likely due to a circular import)

Reproduction

Image
i dont update any code , just execute poery install .

Expected behavior

AttributeError: partially initialized module 'asyncio' has no attribute 'get_running_loop' (most likely due to a circular import)

Who can help?

@italojohnny @ogabrielluiz

Operating System

windows 11

Langflow Version

1.1.1

Python Version

3.11

Screenshot

No response

Flow File

No response

@WXCMYDEARMELAN WXCMYDEARMELAN added the bug Something isn't working label Jan 17, 2025
Copy link

dosubot bot commented Jan 17, 2025

To resolve the "AttributeError: partially initialized module 'asyncio' has no attribute 'get_running_loop'" error, you can try the following solution:

Rename the /langflow/logging folder to /langflow/_logging. This change addresses the naming conflict that causes the circular import issue [1].

To continue talking to Dosu, mention @dosu.


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant