Bee-Mar / mmpm

MagicMirror Package Manager
MIT License
198 stars 30 forks source link

BUG: Failed to load subcommand modul #151

Closed editwentyone closed 10 months ago

editwentyone commented 10 months ago

version 4.0, on python 3.8.18

I get [ERROR] Failed to load subcommand module: module 'importlib.resources' has no attribute 'files' [ERROR] Failed to load subcommand module: module 'importlib.resources' has no attribute 'files' whenever I use a command.

also I can't get mmpm ui install -y to work, this command is not in the list. mmpm install ui worth I try but also without luck

Bee-Mar commented 10 months ago

@editwentyone I am able to reproduce this and will get a fix out ASAP. It doesn't appear to be an issue on Python >= 3.9.x. The odd thing is it didn't show up in the pipeline test for Python 3.8, but thank you for reporting

editwentyone commented 10 months ago

hey sure, thank you for this real quick reaction :) do you want me to stay on 3.8 for testing? no benefits going upwards or are there any?

Bee-Mar commented 10 months ago

@editwentyone there shouldn't be any additional "benefits" of going up to a newer version of Python other than knowing that MMPM should work just fine on python>=3.9

Bee-Mar commented 10 months ago

@editwentyone a fix is getting pushed shortly

Bee-Mar commented 10 months ago

@editwentyone version 4.0.2 is available now and should have that issue fixed

EDIT: 4.0.2 will be yanked from PyPi

editwentyone commented 10 months ago

4.0.3 did the trick :) thank you very much