darkdragn / party

A quick *.party downloader
84 stars 12 forks source link

ModuleNotFoundError: No module named 'pkg_resources' #38

Closed dabigwillyhaver closed 3 months ago

dabigwillyhaver commented 3 months ago

Not exactly sure what I'm doing wrong, I've gotten this to work on my previous computer but now I seem unable to get it to function, here's the full error:

Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users\jack\AppData\Local\Programs\Python\Python312\Scripts\party.exe__main.py", line 4, in File "C:\Users\jack\AppData\Local\Programs\Python\Python312\Lib\site-packages\party\cli.py", line 18, in from marshmallow_jsonschema import JSONSchema File "C:\Users\jack\AppData\Local\Programs\Python\Python312\Lib\site-packages\marshmallow_jsonschema\init__.py", line 1, in from pkg_resources import get_distribution ModuleNotFoundError: No module named 'pkg_resources'

Help would be much appreciated.

darkdragn commented 3 months ago

There are some dependencies for this that don't play nice with python 3.12.

That's what's being off here. Try downgrading python to anything between 3.9-3.11 and you shouldn't have any issues.

I did notice some schemas changes last night that was working gumroad pulls. I don't know if they're impacting other hosting services, but I'll have the fix for those schema changes up later in the evening, if you run into that problem.

dabigwillyhaver commented 3 months ago

Downgraded to 11.8, works now. Thanks for the help.