• instalar o python 3: https://phoenixnap.com/kb/how-to-install-python-3-windows;
• instalar o jupyter notebook usando pip3: https://jupyter.org/install: pip3 install notebook;
• instalar a implementação do algoritmo apriori (apyori): pip3 install apyori. https://analyticsindiamag.com/beginners-guide-to-understanding-apriori-algorithm-with-implementation-in-python/;
• Para usar, digite no prompt: jupyter notebook;
A partir desse ponto, você já pode usar o algoritmo. No browser que foi aberto com o jupyter notebook crie um notebook python 3.
Seguem algumas documentações:
https://www.kaggle.com/yugagrawal95/market-basket-analysis-apriori-in-python
https://jupyter-notebook.readthedocs.io/en/stable/
https://www.programmersought.com/article/41994744761/
https://www.w3schools.com/python/default.asp