langflow icon indicating copy to clipboard operation
langflow copied to clipboard

unable to pip install langflow

Open eladrave opened this issue 2 months ago • 4 comments

Bug Description

When I try to do pip install langflow, it takes hours and then fails, and I have to restart it.

For example, when it tries to install :

Collecting opentelemetry-proto==1.11.1

Using cached opentelemetry_proto-1.11.1-py3-none-any.whl (66 kB)

INFO: pip is looking at multiple versions of overrides to determine which version is compatible with other requirements. This could take a while.

INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.

This is an example with opentelemetry, but this happens for other libraries..

It continues to "count down" on the versions untill it find it:

Collecting opentelemetry-exporter-otlp-proto-grpc>=1.2.0

Using cached opentelemetry_exporter_otlp_proto_grpc-1.6.0-py3-none-any.whl (14 kB)

Collecting opentelemetry-proto==1.6.0

Using cached opentelemetry_proto-1.6.0-py3-none-any.whl (54 kB)

Collecting opentelemetry-exporter-otlp-proto-grpc>=1.2.0

Using cached opentelemetry_exporter_otlp_proto_grpc-1.5.0-py3-none-any.whl (14 kB)

Collecting opentelemetry-proto==1.5.0

Using cached opentelemetry_proto-1.5.0-py3-none-any.whl (54 kB)

Collecting opentelemetry-exporter-otlp-proto-grpc>=1.2.0

Using cached opentelemetry_exporter_otlp_proto_grpc-1.4.1-py3-none-any.whl (14 kB)

Collecting opentelemetry-proto==1.4.1

Using cached opentelemetry_proto-1.4.1-py3-none-any.whl (54 kB)

Collecting opentelemetry-exporter-otlp-proto-grpc>=1.2.0

Using cached opentelemetry_exporter_otlp_proto_grpc-1.4.0-py3-none-any.whl (14 kB)

Collecting opentelemetry-proto==1.4.0

Using cached opentelemetry_proto-1.4.0-py3-none-any.whl (54 kB)

Collecting opentelemetry-exporter-otlp-proto-grpc>=1.2.0

Using cached opentelemetry_exporter_otlp_proto_grpc-1.3.0-py3-none-any.whl (14 kB)

Using cached opentelemetry_exporter_otlp_proto_grpc-1.2.0-py3-none-any.whl (14 kB)


Since this is the 4th time of me restarting the pip install langflow, it has some packages in the cache, but still, i was unable to complete the setup

For this reason, we cannot test langflow in python code

Reproduction

  1. clean machine (or devcontainer)
  2. pip install langflow
  3. wait :)

Expected behavior

Installed

Who can help?

@ita

Operating System

Any

Langflow Version

latest

Python Version

3.11

Screenshot

No response

Flow File

No response

eladrave avatar Dec 16 '24 13:12 eladrave