Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

CLoader in runPlatoDRS.py #1

Closed
WR1171 opened this issue Jul 17, 2019 · 2 comments
Closed

CLoader in runPlatoDRS.py #1

WR1171 opened this issue Jul 17, 2019 · 2 comments

Comments

@WR1171
Copy link

WR1171 commented Jul 17, 2019

Installed, wouldn't work - runPlatoRDS.py line 298 had

cfg_parser = yaml.load(file, Loader=yaml.CLoader)

Changed to

cfg_parser = yaml.load(file, Loader=yaml.Loader)

and it worked

@apapangelis
Copy link
Contributor

Good catch, thanks!

@namanUIUC
Copy link

namanUIUC commented Jul 17, 2019

@WR1171 @apapangelis The issue is because pyyaml skips libyaml bindings (CLoader) if it's unable to find it. Check this out [issue].

Alternative fix:

Install libyaml-dev (debian package)
sudo apt-get install libyaml-dev

Then upgrade pyyaml version
pip install pyyaml --upgrade

This should work without changing the code.

dertilo pushed a commit to dertilo/plato-research-dialogue-system that referenced this issue Apr 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants