All tutorials
Track 0·Foundation

Set Up Python and uv

Install Python 3.12+ and the uv package manager. One-time setup before your first OpenSymbolicAI tutorial.

beginner5 min
Video coming soon
Browse this tutorial's folder in tutorials-pygithub.com/OpenSymbolicAI/tutorials-py

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:

bash
python --version

If 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:

bash
python --version   # should print 3.12.x or 3.13.x

2. 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:

bash
uv --version

You're ready#

Python and uv are installed. Next, set up your local model in Set Up Ollama.