Makefile.config:232: *** Please set 'PYTHON' appropriately. Stop.
make[6]: *** [Makefile.perf:229: sub-make] Error 2
make[5]: *** [Makefile:70: all] Error 2
make[4]: *** [Makefile:85: perf] Error 2
Solved! Go to Solution.
OK I got passed this issue by installing python-devel. Its need for the perf tool when building the kernel.
$ sudo apt-get install -y python-dev
OK I got passed this issue by installing python-devel. Its need for the perf tool when building the kernel.
$ sudo apt-get install -y python-dev
solved my problem,thanks
I had the exactly same problem on Ubuntu 20.04, and your solution worked for me.
Thank you.