ebu / ebu_adm_renderer

The EBU ADM Renderer, written in Python, is the reference implementation of EBU Tech 3388
https://ear.readthedocs.io
BSD 3-Clause Clear License
79 stars 13 forks source link

ruamel.yaml import error #61

Closed mxbolt closed 1 year ago

mxbolt commented 1 year ago

ear command line tools fail to load due to import error:

ImportError: cannot import name 'YAML' from 'ruamel.yaml' (/Users//.pyenv/versions/3.10.12/lib/python3.10/site-packages/ruamel.yaml.clib-0.2.7-py3.10-macosx-13.5-x86_64.egg/ruamel/yaml/init.py)

It seems the code is affected by ruamel.yaml versions after 0.17.21.

(Platform: MacBook Pro 2019 (intel) macOS Ventura 13.5.1)

tomjnixon commented 1 year ago

Hi, sorry about this. I'm not sure exactly what the problem is, but ruamel.yaml has caused too much trouble and we no longer need the features it provides, so are switching to PyYAML in #62

Hopefully that fixes your problem?

mxbolt commented 1 year ago

Oh my bad, I didn't realise there was already a branch ready to go. Tested and it fixed the problem, all good.

tomjnixon commented 1 year ago

Great, thanks. The branch was new, it's not your fault!