Files
semantica/docs/installation.md
T
KaifAhmad1andClaude Sonnet 4.6 946a1089c8 docs: premium redesign — Mintlify v4, dark/cream theme, full module coverage
- Migrate from mint.json to docs.json (Mintlify v4)
- Theme: maple, emerald green + near-black dark / cream light palette
  (#059669 primary, #0A0A0A dark bg, #FAF7F0 light bg)
- Typography: Lexend headings, Inter body
- 5-tab navigation: Documentation, Quick Start, API Reference, Cookbook, FAQ
- Homepage: removed badge stickers, redundant h2, added blockquote tagline,
  full 27-module reference table with semantica.mcp_server added
- quickstart.md: CodeGroup per pipeline step, pattern vs LLM options,
  AccordionGroup for patterns and troubleshooting
- faq.md: full AccordionGroup structure across 5 sections
- reference/explorer.md: NEW — FastAPI explorer, Ontology Hub, Distance
  Intelligence, CLI reference, REST API endpoints
- reference/mcp_server.md: NEW — MCP stdio server, 12 tools with I/O
  examples, 3 resources, Claude Desktop/VS Code/Windsurf/Cline config
- docs.json: explorer added to Output group, mcp_server to Utilities group
- Chat, feedback (thumbs/suggest/raise), OG/Twitter metadata, search topbar
- All reference pages reformatted with Mintlify JSX components

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 21:52:50 +05:30

190 lines
3.7 KiB
Markdown

---
title: "Installation"
description: "Get Semantica installed in under a minute."
icon: "download"
---
<Check>
**Available on PyPI**`pip install semantica` and you're ready.
</Check>
<Note>
Python 3.8 or higher required. Python 3.11+ recommended.
</Note>
---
## Basic Installation
```bash
pip install semantica
```
With all optional dependencies:
```bash
pip install semantica[all]
```
### Verify
```bash
python -c "import semantica; print(semantica.__version__)"
```
---
## Virtual Environment (Recommended)
<Tabs>
<Tab title="venv">
```bash
python -m venv venv
source venv/bin/activate # Linux / Mac
venv\Scripts\activate # Windows
pip install semantica
```
</Tab>
<Tab title="conda">
```bash
conda create -n semantica python=3.11
conda activate semantica
pip install semantica
```
</Tab>
</Tabs>
---
## Optional Dependencies
Install only what you need:
<Tabs>
<Tab title="GPU">
```bash
pip install semantica[gpu]
```
Includes PyTorch with CUDA, FAISS GPU, CuPy.
</Tab>
<Tab title="Visualization">
```bash
pip install semantica[viz]
```
Includes PyVis, Graphviz, UMAP.
</Tab>
<Tab title="LLM Providers">
```bash
pip install semantica[llm-all] # all providers
pip install semantica[llm-openai] # OpenAI
pip install semantica[llm-anthropic] # Anthropic
pip install semantica[llm-gemini] # Google Gemini
pip install semantica[llm-groq] # Groq
pip install semantica[llm-ollama] # Ollama (local)
```
</Tab>
<Tab title="Cloud">
```bash
pip install semantica[cloud]
```
Includes AWS S3, Azure Blob, Google Cloud Storage.
</Tab>
</Tabs>
---
## Install from Source
For the latest development version or to contribute:
```bash
git clone https://github.com/Hawksight-AI/semantica.git
cd semantica
pip install -e . # core only
pip install -e ".[all]" # all extras
pip install -e ".[dev]" # dev tools (pytest, black, etc.)
```
If you encounter issues with the PyPI release, install directly from the main branch:
```bash
pip install git+https://github.com/Hawksight-AI/semantica.git@main
```
---
## Troubleshooting
### ModuleNotFoundError
Check you have the right environment active:
```bash
pip list | grep semantica
pip install --upgrade semantica
```
### Installation fails with dependency errors
```bash
pip install --upgrade pip
pip install build wheel
pip install semantica --no-deps # install without optional deps first
```
### GPU dependencies fail
Install CPU-only first, then add GPU support:
```bash
pip install semantica
pip install semantica[gpu]
```
### Permission denied
```bash
pip install --user semantica # or use a virtual environment
```
### Windows `[all]` install fails
This was fixed in **v0.5.0**. Upgrade to the latest release:
```bash
pip install --upgrade semantica
```
### Windows PyTorch DLL errors
Install the [Microsoft Visual C++ Redistributable](https://aka.ms/vs/17/release/vc_redist.x64.exe). This is a Windows system dependency, not a Semantica bug.
---
## System Requirements
| Component | Minimum | Recommended |
|-----------|---------|-------------|
| Python | 3.8 | 3.11+ |
| OS | Windows / Linux / Mac | Linux / Mac |
| RAM | 4 GB | 16 GB+ |
| Storage | 2 GB | 20 GB+ (for models and data) |
---
## Next Steps
<CardGroup cols={3}>
<Card title="Getting Started" icon="rocket" href="getting-started">
Build your first knowledge graph.
</Card>
<Card title="Quickstart Tutorial" icon="play" href="quickstart">
Full step-by-step pipeline.
</Card>
<Card title="Cookbook" icon="flask" href="cookbook">
Interactive Jupyter notebooks.
</Card>
</CardGroup>