langflow-ai / langflow

Langflow is a low-code app builder for RAG and multi-agent AI applications. It’s Python-based and agnostic to any model, API, or database.
http://www.langflow.org
MIT License
35.41k stars 4.22k forks source link

Error Run langflow 1.1 locally #4747

Closed chaerulilmi closed 3 days ago

chaerulilmi commented 3 days ago

Bug Description

I have got some issue, when i'am running langflow in local server, i run "python -m install langflow==1.1" and i run 'langflow run' but, actually it does'nt going very well. I got some error like this

Cuplikan layar 2024-11-21 112149

Any solutions? Thank you

Reproduction

-

Expected behavior

run perfectly when i run langflow version 1.1.0 locally

Who can help?

@italojohnny @ogabrielluiz @nicoloboschi

Operating System

Windows 11

Langflow Version

1.1.0

Python Version

3.12

Screenshot

No response

Flow File

No response

dosubot[bot] commented 3 days ago

Hello @chaerulilmi! I'm here to help you with any bugs, questions, or contributions you have regarding Langflow. Let's work together to solve this issue.

I found some similar issues and discussions that might help you resolve the error you're encountering with Langflow 1.1.0 on Windows 11 using Python 3.12.

  1. Similar Discussions and Issues:

  2. Suggested Solutions:

    • Instead of using langflow run, try running Langflow with:
      python -m langflow run
    • If the issue persists, reinstall Langflow with:
      python -m pip install langflow -U
    • For further issues, force reinstall Langflow and its dependencies:
      python -m pip install langflow --pre -U --force-reinstall
    • If you encounter migration errors, clear the cache by deleting the contents of the cache folder located at C:\Users\<username>\.cache\langflow\ on Windows [4].

These steps should help you resolve the error and run Langflow successfully.

To continue talking to Dosu, mention @dosu.

shaxiaozz commented 3 days ago

@chaerulilmi I encountered the same problem yesterday. This issue https://github.com/langflow-ai/langflow/issues/4698 should be the real cause and solution image

italojohnny commented 3 days ago

PR #4755 fixes this issue