Skip to content

Error about yaml

Hajime Kawahara edited this page Oct 8, 2021 · 3 revisions

Error on PyYAML

python setup.py install

but I had this error

Installed /home/kawahara/anaconda3/lib/python3.7/site-packages/exojax-0.8.0-py3.7.egg
Processing dependencies for exojax==0.8.0
error: PyYAML 3.13 is installed but PyYAML>=5.1 is required by {'uvicorn'}

This is because the other PyYAML cannot be uninstall. So, the below solved the error.

dolphin ~/exojax> pip install pyyaml  --ignore-installed PyYAML
Collecting pyyaml
  Using cached PyYAML-5.4.1-cp37-cp37m-manylinux1_x86_64.whl (636 kB)
Installing collected packages: pyyaml
Successfully installed pyyaml-5.4.1
dolphin ~/exojax> python setup.py install