Set Up Python and uv
Install Python 3.12+ and the uv package manager. One-time setup before your first OpenSymbolicAI tutorial.
Every tutorial on this site runs on plain Python. Before you start, you need two things on your machine: Python 3.12+ and uv (a fast Python package manager). This takes about five minutes and you only do it once.
1. Install Python 3.12+#
Check what you already have:
python --versionIf you see 3.12.x or higher you're good. Skip to the next section.
Otherwise, follow the instructions on the official Python downloads page for your platform.
Confirm after installing:
python --version # should print 3.12.x or 3.13.x2. Install uv#
uv replaces pip + venv with a single fast
tool. All tutorials use it.
Follow the instructions on the official uv installation page.
Restart your terminal, then verify:
uv --versionYou're ready#
Python and uv are installed. Next, set up your local model in Set Up Ollama.