💥 How I Installed Langflow on Windows After 12 Hours of Pain (and Finally Succeeded)

Aman AnandAman Anand
5 min read

Spoiler: If you're on Windows, don't use pip like a hero — use uv.


✍️ The Frustration

I started with a simple goal: install Langflow, a visual framework to build LLM-powered flows.
As someone exploring LLM tooling and RAG-based workflows, Langflow looked perfect.

But I was on Windows. And I didn't realize that meant:

  • Dependency hell 🔥

  • Installers getting stuck forever

  • Reinstalling Python (twice)

  • Nearly giving up on the whole idea

Even a basic pip install langflow felt like triggering a boss fight in Dark Souls.


⚠️ The Breaking Point

  • pip kept getting stuck on large packages (aiohttp, grpcio, deepdiff)

  • Constant backtracking, dependency conflicts (especially around openai, uvicorn, fastapi)

  • Hours of downloads — only to fail with cryptic errors

After wasting 12 hours, I found a lifeline:
👉 This GitHub Issue #4913

It saved me. I’ll make it even easier for you. Follow This :


✅ The Working Fix (for Windows)

1. Create a Python 3.10 Virtual Environment

Langflow (as of now) plays nicest with Python 3.10.
So I created a new virtual environment:

py -3.10 -m venv venv
.\venv\Scripts\activate

2. Make a requirements.txt

Use this exact requirements list from the GitHub issue (you can copy from the issue or from this paste).
Just Copy This And name it requirements.txt

aiofile==3.9.0
aiofiles==24.1.0
aiohttp==3.9.5
aiolimiter==1.1.0
aiosignal==1.3.1
aiosqlite==0.20.0
alembic==1.13.3
amqp==5.2.0
annotated-types==0.7.0
anthropic==0.36.0
anyio==4.6.0
appdirs==1.4.4
appnope==0.1.4
asgi-lifespan==2.1.0
asgiref==3.8.1
assemblyai==0.34.0
astra-assistants==2.2.6
astrapy==1.5.2
asttokens==2.4.1
async-timeout==4.0.3
asyncer==0.0.8
atlassian-python-api==3.41.16
attrs==24.2.0
auth0-python==4.7.2
authlib==1.3.1
backoff==2.2.1
backports-tarfile==1.2.0
bce-python-sdk==0.9.23
bcrypt==4.0.1
beautifulsoup4==4.12.3
billiard==4.2.1
blockbuster==1.1.1
boto3==1.34.162
botocore==1.34.162
build==1.2.2.post1
cachetools==5.5.0
caio==0.9.17
cassandra-driver==3.29.2
cassio==0.1.10
cattrs==24.1.2
celery==5.4.0
certifi==2024.8.30
cffi==1.17.1
cfgv==3.4.0
chardet==5.2.0
charset-normalizer==3.4.0
chroma-hnswlib==0.7.3
chromadb==0.4.24
clevercsv==0.8.2
click==8.1.7
click-didyoumean==0.3.1
click-plugins==1.1.1
click-repl==0.3.0
clickhouse-connect==0.7.19
cohere==5.10.0
colorama==0.4.6
coloredlogs==15.0.1
colorlog==6.8.2
comm==0.2.2
composio-core==0.5.42
composio-langchain==0.5.42
coolname==2.2.0
couchbase==4.3.2
coverage==7.6.2
crewai==0.80.0
crewai-tools==0.14.0
cryptography==43.0.1
ctransformers==0.2.27
dataclasses-json==0.6.7
datasets==2.2.1
debugpy==1.8.7
decorator==5.1.1
deepdiff==8.0.1
defusedxml==0.7.1
deprecated==1.2.14
deprecation==2.1.0
devtools==0.12.2
dictdiffer==0.9.0
dill==0.3.9
diskcache==5.6.3
distlib==0.3.9
distro==1.9.0
dnspython==2.7.0
docker==7.1.0
docstring-parser==0.16
docx2txt==0.8
dspy==2.5.6
dspy-ai==2.5.6
duckdb==1.1.1
duckduckgo-search==6.3.4
durationpy==0.9
e2b==1.0.3
e2b-code-interpreter==1.0.1
ecdsa==0.19.0
elastic-transport==8.15.1
elasticsearch==8.15.1
embedchain==0.1.123
emoji==2.14.0
environs==9.5.0
events==0.5
exceptiongroup==1.2.2
execnet==2.1.1
executing==2.1.0
faiss-cpu==1.9.0
fake-useragent==1.5.1
fastapi==0.115.2
fastapi-pagination==0.12.29
fastavro==1.9.7
filelock==3.16.1
firecrawl-py==1.5.0
flaml==2.3.1
flatbuffers==24.3.25
flower==2.0.1
forbiddenfruit==0.1.4
frozendict==2.4.5
frozenlist==1.4.1
fsspec==2024.9.0
future==1.0.0
geomet==0.2.1.post1
gitdb==4.0.11
gitpython==3.1.43
google-ai-generativelanguage==0.6.10
google-api-core==2.21.0
google-api-python-client==2.149.0
google-auth==2.35.0
google-auth-httplib2==0.2.0
google-auth-oauthlib==1.2.1
google-cloud-aiplatform==1.70.0
google-cloud-bigquery==3.26.0
google-cloud-core==2.4.1
google-cloud-resource-manager==1.12.5
google-cloud-storage==2.18.2
google-crc32c==1.6.0
google-generativeai==0.8.3
google-resumable-media==2.7.2
google-search-results==2.4.2
googleapis-common-protos==1.65.0
gotrue==2.9.2
gprof2dot==2024.6.6
gptcache==0.1.44
grandalf==0.8
greenlet==3.1.1
groq==0.11.0
grpc-google-iam-v1==0.13.1
grpcio==1.66.2
grpcio-health-checking==1.62.3
grpcio-status==1.62.3
grpcio-tools==1.62.3
gunicorn==23.0.0
h11==0.14.0
h2==4.1.0
hpack==4.0.0
html5lib==1.1
httpcore==1.0.6
httplib2==0.22.0
httptools==0.6.1
httpx==0.27.0
httpx-sse==0.4.0
huggingface-hub==0.25.2
humanfriendly==10.0
humanize==4.11.0
hyperframe==6.0.1
identify==2.6.1
idna==3.10
ijson==3.3.0
importlib-metadata==8.4.0
importlib-resources==6.4.5
inflection==0.5.1
iniconfig==2.0.0
instructor==1.3.3
ipykernel==6.29.5
ipython==8.28.0
jaraco-context==6.0.1
jedi==0.19.1
jinja2==3.1.4
jiter==0.4.2
jmespath==1.0.1
joblib==1.4.2
jq==1.8.0
json-repair==0.30.0
jsonpatch==1.33
jsonpath-python==1.0.6
jsonpickle==3.3.0
jsonpointer==3.0.0
jsonref==1.1.0
jsonschema==4.23.0
jsonschema-specifications==2024.10.1
jupyter-client==8.6.3
jupyter-core==5.7.2
kombu==5.4.2
kubernetes==31.0.0
lancedb==0.14.0
langchain==0.3.4
langchain-anthropic==0.2.3
langchain-astradb==0.5.2
langchain-aws==0.2.2
langchain-chroma==0.1.4
langchain-cohere==0.3.1
langchain-community==0.3.3
langchain-core==0.3.15
langchain-elasticsearch==0.3.0
langchain-experimental==0.3.2
langchain-google-calendar-tools==0.0.1
langchain-google-community==2.0.1
langchain-google-genai==2.0.1
langchain-google-vertexai==2.0.5
langchain-groq==0.2.0
langchain-milvus==0.1.5
langchain-mistralai==0.2.0
langchain-mongodb==0.2.0
langchain-nvidia-ai-endpoints==0.3.0
langchain-ollama==0.2.0
langchain-openai==0.2.3
langchain-pinecone==0.2.0
langchain-text-splitters==0.3.0
langchain-unstructured==0.1.5
langchainhub==0.1.21
langflow==1.1.1
langflow-base==0.1.1
langfuse==2.53.3
langsmith==0.1.145
langwatch==0.1.16
lark==1.2.2
litellm==1.49.0
llama-cpp-python==0.2.90
loguru==0.7.2
lsprotocol==2023.0.1
lxml==5.3.0
lz4==4.3.3
magicattr==0.1.6
mako==1.3.5
markdown==3.7
markdown-it-py==3.0.0
markupsafe==3.0.1
marshmallow==3.22.0
matplotlib-inline==0.1.7
mdurl==0.1.2
mem0ai==0.1.26
metal-sdk==2.5.1
metaphor-python==0.1.23
milvus-lite==2.4.10
minijinja==2.2.0
mmh3==5.0.1
monotonic==1.6
more-itertools==10.5.0
mpmath==1.3.0
multidict==6.1.0
multiprocess==0.70.17
multitasking==0.0.11
mypy==1.11.2
mypy-extensions==1.0.0
nanoid==2.0.0
nest-asyncio==1.6.0
networkx==3.4
nltk==3.9.1
nodeenv==1.9.1
numexpr==2.10.1
numpy==1.26.4
oauthlib==3.2.2
ollama==0.3.3
onnxruntime==1.19.2
openai==1.52.0
opensearch-py==2.7.1
opentelemetry-api==1.27.0
opentelemetry-exporter-otlp-proto-common==1.27.0
opentelemetry-exporter-otlp-proto-grpc==1.27.0
opentelemetry-exporter-otlp-proto-http==1.27.0
opentelemetry-exporter-prometheus==0.48b0
opentelemetry-instrumentation==0.48b0
opentelemetry-instrumentation-asgi==0.48b0
opentelemetry-instrumentation-fastapi==0.48b0
opentelemetry-proto==1.27.0
opentelemetry-sdk==1.27.0
opentelemetry-semantic-conventions==0.48b0
opentelemetry-util-http==0.48b0
optuna==4.0.0
orderly-set==5.2.2
orjson==3.10.0
outcome==1.3.0.post0
overrides==7.7.0
packaging==24.2
pandas==2.2.2
pandas-stubs==2.2.3.241009
parameterized==0.9.0
paramiko==3.5.0
parso==0.8.4
passlib==1.7.4
peewee==3.17.6
pexpect==4.9.0
pgvector==0.3.5
pillow==10.4.0
pinecone-client==5.0.1
pinecone-plugin-inference==1.1.0
pinecone-plugin-interface==0.0.7
platformdirs==4.3.6
pluggy==1.5.0
portalocker==2.10.1
postgrest==0.16.11
posthog==3.7.0
pre-commit==4.0.1
primp==0.7.0
prometheus-client==0.21.0
prompt-toolkit==3.0.48
propcache==0.2.0
proto-plus==1.24.0
protobuf==4.25.5
psutil==6.0.0
psycopg==3.2.3
psycopg-binary==3.2.3
psycopg2-binary==2.9.9
ptyprocess==0.7.0
pulsar-client==3.5.0
pure-eval==0.2.3
py==1.11.0
py-cpuinfo==9.0.0
pyarrow==17.0.0
pyasn1==0.6.1
pyasn1-modules==0.4.1
pyautogen==0.3.1
pycparser==2.22
pycryptodome==3.21.0
pydantic==2.7.4
pydantic-core==2.18.4
pydantic-settings==2.4.0
pygments==2.18.0
pyjwt==2.9.0
pylance==0.18.2
pymilvus==2.4.7
pymongo==4.10.1
pynacl==1.5.0
pyparsing==3.1.4
pypdf==5.1.0
pyperclip==1.9.0
pypika==0.48.9
pyproject-hooks==1.2.0
pyreadline3==3.5.4
pyright==1.1.385
pysbd==0.3.4
pysher==1.0.8
pysocks==1.7.1
pytest==8.3.3
pytest-asyncio==0.24.0
pytest-codspeed==3.0.0
pytest-cov==5.0.0
pytest-flakefinder==1.1.0
pytest-github-actions-annotate-failures==0.2.0
pytest-instafail==0.5.0
pytest-mock==3.14.0
pytest-profiling==1.7.0
pytest-split==0.9.0
pytest-sugar==1.0.0
pytest-xdist==3.6.1
python-dateutil==2.9.0.post0
python-docx==1.1.2
python-dotenv==1.0.1
python-jose==3.3.0
python-lsp-jsonrpc==1.1.2
python-multipart==0.0.12
pytube==15.0.0
pytz==2024.2
pyvis==0.3.2
pyyaml==6.0.2
pyzmq==26.2.0
qdrant-client==1.9.2
qianfan==0.3.5
ragstack-ai-knowledge-store==0.2.1
realtime==1.0.6
redis==5.1.1
referencing==0.35.1
regex==2024.9.11
requests==2.32.3
requests-oauthlib==2.0.0
requests-toolbelt==1.0.0
responses==0.18.0
respx==0.21.1
retry==0.9.2
rich==13.9.2
rpds-py==0.20.0
rsa==4.9
ruff==0.6.9
s3transfer==0.10.3
safetensors==0.4.5
schema==0.7.7
scikit-learn==1.5.2
scipy==1.14.1
selenium==4.25.0
semver==3.0.2
sentence-transformers==3.2.0
sentry-sdk==2.16.0
setuptools==75.1.0
shapely==2.0.6
shellingham==1.5.4
simsimd==5.6.4
six==1.16.0
smmap==5.0.1
sniffio==1.3.1
sortedcontainers==2.4.0
soupsieve==2.6
spider-client==0.0.71
sqlalchemy==2.0.36
sqlmodel==0.0.18
stack-data==0.6.3
starlette==0.38.6
storage3==0.7.7
strenum==0.4.15
structlog==24.4.0
supabase==2.6.0
supafunc==0.5.1
sympy==1.13.3
tabulate==0.9.0
tenacity==8.3.0
termcolor==2.5.0
threadpoolctl==3.5.0
tiktoken==0.7.0
tokenizers==0.20.1
toml==0.10.2
tomli==2.0.2
tomli-w==1.1.0
torch==2.4.1
tornado==6.4.1
tqdm==4.66.5
traitlets==5.14.3
transformers==4.45.2
tree-sitter==0.23.1
tree-sitter-python==0.23.2
trio==0.27.0
trio-websocket==0.11.1
typer==0.13.0
types-aiofiles==24.1.0.20240626
types-cachetools==5.5.0.20240820
types-cffi==1.16.0.20240331
types-google-cloud-ndb==2.3.0.20240813
types-markdown==3.7.0.20240822
types-passlib==1.7.7.20240819
types-pillow==10.2.0.20240822
types-pyasn1==0.6.0.20240913
types-pyopenssl==24.1.0.20240722
types-python-jose==3.3.4.20240106
types-pytz==2024.2.0.20241003
types-pywin32==307.0.0.20241009
types-pyyaml==6.0.12.20240917
types-redis==4.6.0.20241004
types-requests==2.32.0.20240914
types-setuptools==75.1.0.20240917
typing-extensions==4.12.2
typing-inspect==0.9.0
tzdata==2024.2
ujson==5.10.0
uncurl==0.0.11
unstructured-client==0.25.9
upstash-vector==0.6.0
uritemplate==4.1.1
urllib3==2.2.3
uuid6==2024.7.10
uv==0.4.25
uvicorn==0.31.1
uvloop==0.20.0
validators==0.34.0
vine==5.1.0
virtualenv==20.26.6
vulture==2.13
watchfiles==0.24.0
wcwidth==0.2.13
weaviate-client==4.8.1
webencodings==0.5.1
websocket-client==1.8.0
websockets==12.0
wikipedia==1.4.0
win32-setctime==1.1.0
wolframalpha==5.1.3
wrapt==1.16.0
wsproto==1.2.0
xmltodict==0.14.1
xxhash==3.5.0
yarl==1.14.0
yfinance==0.2.44
youtube-transcript-api==0.6.2
zep-python==2.0.2
zipp==3.20.2
zstandard==0.23.0

Don’t skip this — it helps version lock everything to avoid Langflow conflicts.


3. Don't Use pip install -r requirements.txt

You'll get stuck again like I did. Instead, do this:


4. Install uv (a modern pip alternative)

pip install uv

Then install Langflow cleanly:

uv pip install langflow

This worked flawlessly for me and resolved every conflict pip couldn’t.


5. One Last Fix (Milvus Error)

You might see this error:

ERROR: Could not find a version that satisfies the requirement milvus-lite==2.4.10

That’s because milvus-lite no longer supports Windows.

Just fix it by installing the compatible alternative:

pip install milvus

6. You're Done 🎉

Now just run:

langflow run

And after ~2 minutes, Langflow will be live at:

http://127.0.0.1:7860

🤯 Final Thoughts

Langflow is incredible once it runs — but getting it working on Windows needs a little workaround magic.

Here’s what I learned:

  • pip isn't great at dependency resolution for large AI tools

  • uv should probably be the default package manager for these projects

  • Don’t trust random install tutorials — trust open GitHub issues


If you're a Windows user who almost gave up — you're not alone. But Langflow works, and it’s worth the setup. 🙌

Bye! Important Links : Original Github Posts

0
Subscribe to my newsletter

Read articles from Aman Anand directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Aman Anand
Aman Anand