A Python application for interacting with Ollama's local LLM services.
- Python 3.8 or higher
- Ollama installed and running on your machine
- pip (Python package installer)
- Clone the repository
git clone https://github.com/felipefontoura/deepseek-local.git
cd deepseek-local/python- Create and activate virtual environment
On Windows:
python -m venv .venv
.venv\Scripts\activateOn macOS/Linux:
python3 -m venv .venv
source .venv/bin/activate- Install dependencies
pip install -r requirements.txt- Run Ollama Server:
ollama server- Run the main application:
python main.pyCommon issues and solutions:
- Ensure Ollama is running before starting the application
- Check if all required dependencies are installed
- Verify Python version compatibility