git clone https://github.com/oyasizaki/langflow-additional.git
cd Version_Control
pip install -r requirements_<version>.txt
You can install Langflow from pip:
pip install langflow
Next, run:
langflow run # or langflow --help
or
python -m langflow
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
CTransformers
pip install ctransformers
llama-cpp-python
pip install llama-cpp-python
sentence-transformers
pip install -U sentence-transformers
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
Delete the files inside of the folder shown in the image and rerun langflow to solve the problem