I guess it would be an executable. I just simply followed the instructions literally. I changed into the directory to make sure I could run the script but… no dice. It seems I am somewhat lost.
to exec a python file like that i guess you need to make sure it has the right permission with chmod 755, but before that i’d question why you do it that way or why you need sudo in the first place. normally it’s just python3 zenstates.py.
Ideally, I’m trying to underclock a Ryzen Embedded CPU I have for an experiment and wondering how slow I can go while maintaining acceptable levels of performance for several networking experiments I have.
Trying CPUFREQUTILS yielded me nothing. While I know the processor is locked, the motherboard doesn’t have the UEFI utility to change the multiplier and many locked CPUs can be lowered.
A, Are you sure your terminal is in the same directory as zenstates.py ?
B, Do you have python installed? Try running python. The error message may well refer to you not being able to find the python executable, rather than your script.
I’m not familiar with the script. You’ll have to check whether it needs python 2 or 3. My point is though that python has to be callable as python. If yours is called python3 and the script is invoking python then you’ll obviously get a No such file or directory error.