thesimj / envyaml

Simple YAML configuration file parser
MIT License
78 stars 21 forks source link

ModuleNotFoundError #26

Closed bstivers closed 2 years ago

bstivers commented 3 years ago

I'm getting the "EnvYAML require "pyyaml >= 5" module to work" error. I've tried every version of pyyaml from 5.1 and up through the current 5.4.1.

Miniconda (py39) env. import yaml works as expected when loading the normal non-envyaml way.

thesimj commented 2 years ago

hi, just run install with update pip install -U envyaml and try library again.

this error means that inside library pyyaml you don't have a safe_load funstion

from yaml import safe_load