Skip to content

Latest commit

 

History

History
89 lines (70 loc) · 1.71 KB

README.md

File metadata and controls

89 lines (70 loc) · 1.71 KB

langflow

📦 Installing packaged langflow (version control)

git clone https://github.com/oyasizaki/langflow-additional.git
cd Version_Control
pip install -r requirements_<version>.txt

🔥 Direct Installation

Locally

You can install Langflow from pip:

pip install langflow

Next, run:

langflow run # or langflow --help

or

python -m langflow

Version

To install a specific version of langflow

pip install langflow==<version>

For example:

pip install langflow==0.5.0

Acc setup:

langflow superuser --username=test --password=test

To run:

langflow run

Dependencies

CTransformers

pip install ctransformers

llama-cpp-python

pip install llama-cpp-python

sentence-transformers

pip install -U sentence-transformers

Issues

Conflicting Dependency

IF YOU Face any dependency version related problem then set the version while installing langflow using pip:

  • first clone the github repo of langflow with git clone command
  • then use cd langflow to go to the lanflow folder inside the terminal. Finally, use this command:
pip3 install "dependency_name >=Supported_version_begining_number,<Supported_version_ending_number" langflow

For example :

pip3 install "opentelemetry-sdk >=1.14.0,<1.20.0" langflow

DB / alembic / user id issue

Delete the files inside of the folder shown in the image and rerun langflow to solve the problem WhatsApp Image 2024-04-06 at 7 52 26 AM