When I run openfisca I got this warning (from parameters/config.py):
libyaml is not installed in your environment. This can make OpenFisca slower to start. Once you have installed libyaml run 'pip uninstall pyyaml && pip install pyyaml --no-cache-dir' so that it is used in your Python environment.
However I do have libyaml and pyyaml installed, the problem comes from CLoader : I can import yaml, but from yaml import CLoader doesn't work (the try tests this import : from yaml import CLoader as Loader)
I suggest to change the warning to
libyaml is not installed in your environment, or your version of libyaml doesn't include CLoader
When I run openfisca I got this warning (from
parameters/config.py
):However I do have libyaml and pyyaml installed, the problem comes from
CLoader
: I canimport yaml
, butfrom yaml import CLoader
doesn't work (thetry
tests this import :from yaml import CLoader as Loader
)I suggest to change the warning to
Context
I identify more as a:
Thanks,
best