Anki add on difficulty

Anki 25.07.5 (7172b2d2) (ao)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: macOS-12.4-arm64-arm-64bit-Mach-O

Traceback (most recent call last):
File “/Users/diyashah/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/progress.py”, line 121, in handler
func()
~~~~^^
File “/Users/diyashah/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/main.py”, line 231, in on_window_init
fn()
~~^^
File “/Users/diyashah/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/main.py”, line 330, in setupProfile
self.loadProfile()
~~~~~~~~~~~~~~~~^^
File “/Users/diyashah/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/main.py”, line 568, in loadProfile
gui_hooks.profile_did_open()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File “/Users/diyashah/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/_aqt/hooks.py”, line 4136, in call
hook()
~~~~^^
File “/Users/diyashah/Library/Application Support/Anki2/addons21/633922407/init.py”, line 20, in startup
from . import main
File “/Users/diyashah/Library/Application Support/Anki2/addons21/633922407/main.py”, line 6, in
from .display import pokemonDisplay
File “/Users/diyashah/Library/Application Support/Anki2/addons21/633922407/display.py”, line 8, in
from .utils import *
File “/Users/diyashah/Library/Application Support/Anki2/addons21/633922407/utils.py”, line 3, in
import distutils.dir_util
ModuleNotFoundError: No module named ‘distutils’

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Image Occlusion Enhanced [‘1374772155’, 2022-04-09T03:15, ‘None’, ‘’]
Pokemanki [‘633922407’, 2021-02-24T16:44, ‘None’, ‘’]
Review Heatmap [‘1771074083’, 2022-06-29T21:43, ‘None’, ‘’]
True Retention [‘613684242’, 2017-11-19T15:43, ‘None’, ‘’]

===IDs of active AnkiWeb add-ons===
1374772155 1771074083 613684242 633922407

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])

I am getting this issue when trying to use an add on. I have the most updated version and also have closed out the app and tried to delete and can not figure it out

1 Like

The errors tell you which add-on is the problem.

Disable that one, and then contact the developer (by clicking “Contact Author” on the add-on page) to report the issue.

1 Like

According to this stackoverflow answer, the distutils package is removed. So you need to install setuptools. Open the terminal and run one of these commands or look for equivalent instructions on Google.

pip install setuptools

Or

pip3 install setuptools
2 Likes

This doesn’t work in Anki.

1 Like

You seem to be trying to use an old version of Pokemanki, that version has been broken for several years. The customized version of Pokemanki I developed is available for the latest Anki. :video_game:Pokemanki Gold - Raising Pokemon with Anki (Customized by Shigeඞ)