I have installed pyyaml by using pip install pyyaml
on my mac, but I can't seem to use the module after installation, due to
ImportError: No module named 'yaml'
Version PyYAML-5.1.2
The Python version is 3.7
.
I can't seem to understand why this happens. Can anyone shed some light on the matter?