mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-09-15 04:00:33 +00:00
Replace Hawksight-AI/semantica, semantica-dev/semantica, and semantica/semantica URLs across all docs files (17 files, ~100 links).
190 lines
3.7 KiB
Markdown
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/semantica-agi/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/semantica-agi/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>
|