System Requirements
Before you begin, ensure your system meets these requirements:- Python: Version 3.10 or higher
- Conda: Anaconda or Miniconda for environment management
- Storage: At least 2GB free space for dependencies and models
- Internet: Required for downloading dependencies and embedding models
DeenPAL uses the
sentence-transformers/all-MiniLM-L6-v2 embedding model, which will be downloaded automatically on first run.Installation Steps
Create Conda Environment
Create a new conda environment with Python 3.10:This creates an isolated environment named
deen-pal to avoid conflicts with other Python projects.Activate Environment
Activate the newly created environment:
You’ll need to activate this environment each time you work with DeenPAL.
Installed Dependencies
The installation includes the following key packages:- langchain - Core LangChain framework
- langchain_community - Community integrations
- langchain-huggingface - HuggingFace embeddings integration
- langchain-openai - OpenAI/OpenRouter LLM integration
- langchain-chroma - ChromaDB vector store integration
- pypdf - PDF document loading
- chromadb - Vector database for embeddings
- streamlit - Web interface framework
- huggingface-hub - HuggingFace model downloads
- sentence-transformers - Embedding models
- python-dotenv - Environment variable management
Verifying Installation
To verify that all dependencies are correctly installed, run:Next Steps
Now that DeenPAL is installed, you can:Troubleshooting
Conda Not Found
If you don’t have Conda installed, download and install it from:Package Installation Fails
If package installation fails:- Ensure you have the latest pip:
pip install --upgrade pip - Try installing packages individually to identify the problematic one
- Check your internet connection
