The ruamel.yaml.comments
module ruamel.yaml.comments
usually loaded from site-packages/ruamel/yaml/comments.py
, not from site-packages/ruamel_yaml/comments.py
Conda seems to have problems with proper namespace support ( ruamel.
), Which I can only attribute so that (for now) is not fully compatible with pip
. That "namespaces is a good idea" and package namespaces have been around for many years.
Assuming you can expand your conda installations with pip
, you can try a typical ruamel.yaml
installation with
pip install ruamel_yaml==0.11.14
Normally, I would not recommend such an old version, but most likely it will work in conjunction with the conda version, which itself uses itself.
An alternative would be to switch to using python and pip without conda, so you can just use the latest software from PyPI.
source share