Closed VoxelCubes closed 10 months ago
Since this is an issue, I'll answer it over here. There are a few problems here, primarily that you attempted to use Python 3.9, which unfortunately won't work. With 3.12 it really should, since it's 3.10 and newer.
That aside, the issue is an older one that should have been fixed, I removed all mentions of magic_docopt since version 2.0, so please try to run pip install --upgrade pcleaner
in your terminal.
The issue itself stemms from docopt actually being unmaintained, however, a new fork with a package called docopt-ng exists, which is also imported under the name docopt, but provides more features (namely magic_docopt). So if you had the old docopt previously installed, then upon installing pcleaner, pip will not install docopt-ng if the old docopt is already present, causing the issue above. I have since limited my use of docoptng to make it compatible with old docopt, but if you wish to be on the safe side, do
pip uninstall docopt
followed by
pip install docopt-ng
to fix the underlying problem. I would still highly recommend upgrading pcleaner, regardless.
Discussed in https://github.com/VoxelCubes/PanelCleaner/discussions/25