langflow-ai / langflow

⛓️ Langflow is a visual framework for building multi-agent and RAG applications. It's open-source, Python-powered, fully customizable, LLM and vector store agnostic.
http://www.langflow.org
MIT License
18.48k stars 2.77k forks source link

Attempting to run python -m langflow run produces error #1664

Open radiantone opened 1 month ago

radiantone commented 1 month ago

Describe the bug Installing the pre-release per the README and attempting to run langflow per the README produces an error


$ python -m langflow run
...snipped.../venv/bin/python: No module named langflow.__main__; 'langflow' is a package and cannot be directly executed

Browser and Version

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

ogabrielluiz commented 1 month ago

Hey

This error might be related with the installation. Try using --force-reinstall

tina1998612 commented 2 weeks ago

i also have this issue, already force reinstall

FlorianMgs commented 1 week ago

Same issue here. Already done --force-reinstall

technofriends commented 2 days ago

If you are on the latest pre-release try typing "langflow run" instead of python -m langflow run.

FlorianMgs commented 2 days ago

Fixed this by installing latest pre-release in a fresh env