Tag: PyYAML

annoyed cat
Errors

PyYAML 5.3.1 Github Actions Error

FileNotFoundError: [Errno 2] No such file or directory: ‘/opt/hostedtoolcache/Python/3.7.8/x64/lib/python3.7/site-packages/PyYAML-5.3.1-py3.7-linux-x86_64.egg If you encounter this error on Github it is possibly because Github recently updated from Python 3.7.7 to Python 3.7.8 and PyYAML produces an error therein. The easiest way to fix this is by changing the used Python version explicitly back to 3.7.7. Old config: Hands-on with GitHub Actions: (Affiliate) We now explicitly use Python 3.7.7 in row 11 and actions/setup_python@v2 in row 17: If this didn’t fix your issue please leave a comment so we can look further into it. Yannic SchröerI am a developer and entrepreneur from Germany. I chose studying computer science because I love building things. I am of the opinion that there isn’t one truth (especially for computer science concepts) and whoever claims so isn’t that trustworthy in my eyes. I constantly try to improve things and myself. In my spare time I support businesses by

Read More »