MontrealCorpusTools / PolyglotDB

Language data store and linguistic query API
MIT License
38 stars 14 forks source link

needs pyyaml-5.4.1 #181

Open jeffmielke opened 1 year ago

jeffmielke commented 1 year ago

Using polyglotdb to measure SPADE requires pyyaml-5.4.1 because in pyyaml-6.0 the load() function has an additional required argument. When I initially used my old installation of polyglot and a fresh installation in conda, I got "no module named yaml" in both, and when I installed it using pip I got pyyaml-6.0 and ran formant.py in both, I got the error message "TypeError: load() missing 1 required positional argument: 'Loader'". After entering "conda install pyyaml=5.4.1" I can now measure formants in polyglot in the conda environment.