[Bug]:No Dependencies Are Installed With `uv Pip Install`
Bug: No dependencies are installed with uv pip install
Introduction
LightRAG is a powerful tool for building and deploying machine learning models. However, users have reported an issue where dependencies are not installed when using the uv pip install
command. In this article, we will delve into the details of this bug, explore the steps to reproduce it, and discuss the expected behavior.
Do you need to file an issue?
Yes, this is a legitimate bug that has not been previously reported. The user has searched the existing issues and confirmed that this bug is not already filed.
Describe the bug
The user installed LightRAG using the following command:
uv pip install "lightrag-hku[api]"
However, only the LightRAG package was installed:
Installed 1 package in 5ms
+ lightrag-hku==1.3.2
This is unexpected behavior, as the user expected all dependencies to be installed.
Steps to reproduce
To reproduce this bug, follow these steps:
- Create a new virtual environment using
uv venv --python 3.11
. - Activate the virtual environment using
source .venv/bin/activate
. - Install LightRAG using the following command:
uv pip install "lightrag-hku[api]"
Expected Behavior
The expected behavior is that all dependencies should be installed, including:
aiofiles==24.1.0
aiohappyeyeballs==2.6.1
aiohttp==3.11.16
aiosignal==1.3.2
annotated-types==0.7.0
anyio==4.9.0
anytree==2.13.0
ascii-colors==0.7.0
asyncpg==0.30.0
attrs==25.3.0
autograd==1.7.0
bcrypt==4.3.0
beartype==0.18.5
certifi==2025.1.31
cffi==1.17.1
charset-normalizer==3.4.1
click==8.1.8
configparser==7.2.0
contourpy==1.3.2
cryptography==44.0.2
cycler==0.12.1
distro==1.9.0
ecdsa==0.19.1
fastapi==0.115.12
fonttools==4.57.0
frozenlist==1.6.0
future==1.0.0
gensim==4.3.3
graspologic==3.4.1
graspologic-native==1.2.5
h11==0.14.0
httpcore==1.0.8
httpx==0.28.1
hyppo==0.4.0
idna==3.10
jiter==0.9.0
joblib==1.4.2
kiwisolver==1.4.8
lightrag-hku==1.3.2
llvmlite==0.44.0
matplotlib==3.10.1
multidict==6.4.3
nano-vectordb==0.0.4.3
networkx==3.4.2
numba==0.61.2
numpy==1.26.4
ollama==0.4.8
openai==1.75.0
packaging==24.2
pandas==2.2.3
passlib==1.7.4
patsy==1.0.1
pillow==11.2.1
pipmaster==0.5.4
pot==0.9.5
propcache==0.3.1
pyasn1==0.4.8
pycparser==2.22
pydantic==2.11.3
pydantic-core==2.33.1
pyjwt==2.10.1
pynndescent==0.5.13
pyparsing==3.2.3
python-dateutil==2.9.0.post0
python-dotenv==1.1.0
python-jose==3.4.0
python-multipart==0.0.20
pytz==2025.2
regex==2024.11.6
requests==2.32.3
rsa==4.9.1
scikit-learn==1.6.1
scipy==1.12.0
seaborn==0.13.2
setuptools==78.1.0
six==1.17.0
smart-open==7.1.0
sniffio==1.3.1
starlette==0.46.2
statsmodels==0.14.4
tenacity==9.1.2
threadpoolctl==3.6.0
tiktoken==0.9.0
tqdm==4.67.1
typing-extensions==4.13.2
typing-inspection==0.4.0
tzdata==2025.2
umap-learn==0.5.7
urllib3==2.4.0
uvicorn==0.34.2
wrapt==1.17.2
xlsxwriter==3.2.3
yarl==1.20.0
LightRAG Config Used
No config was provided.
Logs and screenshots
No logs or screenshots were provided.
Additional Information
- LightRAG Version: v1.3.2
- Operating System: Arch
- Python Version: 3.11
- Related Issues: None
In conclusion, the bug where no dependencies are installed with uv pip install
is a legitimate issue that needs to be addressed. The expected behavior is that all dependencies should be installed, but currently, only the LightRAG package is installed. To reproduce this bug, follow the steps outlined above.
Q&A: Bug - No dependencies are installed with uv pip install
Q: What is the bug?
A: The bug is that when using the uv pip install
command to install LightRAG, only the LightRAG package is installed, and not the required dependencies.
Q: What are the required dependencies?
A: The required dependencies are listed in the "Expected Behavior" section of the bug report. They include packages such as aiofiles
, aiohttp
, asyncpg
, attrs
, autograd
, and many others.
Q: Why are the dependencies not being installed?
A: The exact reason for this issue is not clear, but it is likely related to a problem with the uv pip install
command or the way that LightRAG is configured.
Q: How can I reproduce the bug?
A: To reproduce the bug, follow the steps outlined in the "Steps to reproduce" section of the bug report. This includes creating a new virtual environment, activating it, and then running the uv pip install
command to install LightRAG.
Q: What are the expected behavior and actual behavior?
A: The expected behavior is that all dependencies should be installed when running the uv pip install
command. However, the actual behavior is that only the LightRAG package is installed.
Q: What are the system requirements for this bug?
A: The system requirements for this bug are:
- LightRAG Version: v1.3.2
- Operating System: Arch
- Python Version: 3.11
Q: Are there any related issues?
A: No, there are no related issues.
Q: How can I fix this bug?
A: Unfortunately, there is no clear solution to this bug at this time. However, you can try the following:
- Check the LightRAG documentation to see if there are any known issues or workarounds.
- Try installing the dependencies manually using the
pip install
command. - Check the
uv pip install
command to see if there are any options or flags that can be used to install the dependencies.
Q: Can I get help with this bug?
A: Yes, you can get help with this bug by:
- Posting a question on the LightRAG forums or support channels.
- Reaching out to the LightRAG development team directly.
- Joining a community of LightRAG users to see if anyone else has experienced this issue.
Q: Is this bug a security vulnerability?
A: No, this bug is not a security vulnerability. However, it can cause issues with the installation and functionality of LightRAG.
Q: Will this bug be fixed?
A: Yes, the LightRAG development team is aware of this issue and is working to fix it. However, there is no estimated timeline for a fix at this time.