Closed roseswe closed 2 years ago
This looks suspiciously like VS Code trying to "fix" things automatically. I removed the import, and it's still working fine. I really do not need the "platformdirs" module, I just happened to have a variable named "user_cache_dir". Coincidentally the systems where we tested it must have had it installed previously, so I didn't notice it earlier.
There you go, please try it again.
$ ./vercheck-cache.py Traceback (most recent call last): File "./vercheck-cache.py", line 6, in
from platformdirs import user_cache_dir
ModuleNotFoundError: No module named 'platformdirs'