Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on Windows
Python implementation of algorithms from Russell And Norvig's "Artificial Intelligence - A Modern Approach"
Saved setup from 5 h ago
Will it work on Windows?
Then run powershell -ExecutionPolicy Bypass -File .\setup.ps1. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: winget install Git.Git. The repo uses git submodules, so the clone fetches them too.
git clone --recurse-submodules https://github.com/aimacode/aima-python.git cd aima-python
Python >=3.11
winget install Python.Python.3.13
python -m venv .venv .venv\Scripts\Activate.ps1 pip install -r requirements.txt
pytest
To download the repository:
git clone https://github.com/aimacode/aima-python.git
Then you need to install the basic dependencies to run the project on your system:
cd aima-python
pip install -r requirements.txt
A couple of notebooks also need the Graphviz system
binary (dot) for rendering — the graphviz PyPI package is only a wrapper. Install it
with your OS package manager if needed (e.g. apt install graphviz, brew install graphviz).
You also need to fetch the datasets from the aima-data repository:
git submodule init
git submodule update
Wait for the datasets to download, it may take a while. Once they are downloaded, you need to install pytest, so that you can run the test suite:
pip install pytest
Then to run the tests:
py.test
And you are good to go!
No reports for Windows yet.
GitManual AI Agent reads the 8 key files and writes a step-by-step guide for Windows. Once written, it's saved for everyone.