Konubinix' opinionated web of thoughts

Python Yaml Cannot Load CLoader

fleeting

tl;dr:

cyaml is optional and requires build dependencies, such as cython and yaml.h to be available upon building the package (yaml.h comes from libyaml-dev package in Debian/Ubuntu):

https://github.com/yaml/pyyaml/issues/108

apt-get install -y gcc libyaml-dev pip

https://stackoverflow.com/questions/47715566/cannot-load-cloader-with-pyyaml

pip install –ignore-installed –global-option=’–with-libyaml’ pyyaml

https://stackoverflow.com/questions/47715566/cannot-load-cloader-with-pyyaml