← Back to context

Comment by Sayrus

12 hours ago

> The script is hardcoded to read the stress binary at /usr/bin/stress since it doesn’t exist, the program errors out. To fix this, edit stress_helper.py.

Script is good, but the directory is missing from PATH. The edited scripts hardcodes the path to the user's home. Earlier in the article, the binary was copied to ~/.local/bin/stress so the given code suggestion should not work either.