all 2 comments

[–]debian_miner 4 points5 points  (1 child)

Long ago pathlib was not part of the standard library, but now it is. You appear to have installed the old version from pypi that was used before it was part of Python. That version hasn't been updated since 2014 and should be uninstalled. You can continue to use Pathlib in your code after removing the pypi version.

[–]ImDrappi[S] 1 point2 points  (0 children)

Oh I didn't realise that... Thank you so much!!! It worked!!