Category: Errors

disgusted displeased senior bald man in yellow shirt
Errors

… \r’: No such file or directory

If you encountered this error when executing a bash script its probably because you use a script that was written under Windows and you want to use this in an Unix system now. The problem is that the control characters of your file are different, depending on wich OS (Operating System) you use. 1. Fix via Stream Editor A quick fix for this is to simply replace the control characters: 2. Use dos2unix package If you want to use a package rather than the stream editor, dos2unix should be your pick. Simply install it via apt: Then just pick your file: If you want to convert multiple files at once you may use the suggested method on Stackoverflow: If nothing of this fixed your issue, please leave a comment and I will try to look into it, as well as add it here. Yannic SchröerI am a developer and entrepreneur

Read More »
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: 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 offering them most of my

Read More »