annoyed cat

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: 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 computer scientist and entrepreneur from Germany. I chose to work in computer science because I love building things and improve people’s lives. code-specialist.com

Read More »