I am new to Python and have inherited an existing program and unfortunately the people that had been working in the environment had left the company before I accepted the position. I am wondering how to clear this error.
The problem is that pathlib
has been downloaded from PyPI and it’s hiding the version that’s now in the standard library.
The solution is to do what the message says and remove it:
conda remove pathlib
There’s an answer on StackOverflow about this: