import yaml missing error module

 >>> import yaml   
Traceback (most recent call last): 
 File "<stdin>", line 1, in <module>
 File "/tools/python_libs/yaml/__init__.py", line 2, in <module>
   from error import *
ModuleNotFoundError: No module named 'error'

I don’t see how to set my PYTHONPATH with anaconda3.

Am I missing an install step?

import yaml missing error module