Building psutil


I am trying to install psutil on LEDE 17.01.4 with no success. Using either pip3 install psutil or manually compiling it, I get the following error:

unable to execute 'arm-openwrt-linux-gnueabi-gcc': No such file or directory

I should mention I've already installed python3-dev package.

Is there a way to cross-compile it? Any suggestions?

Thanks in advance.


I haven't had much luck with pip and at least Python 3 running on OpenWRT. It will install pure Python packages to the "root-level" Python instance, but does seem to fail for venv use.

I've poked at that exact package myself and was planning to build it within the OpenWRT build system, but a couple other things have gotten higher priority than figuring out what's wrong with my attempt at a package Makefile. Wrapping it as a package would be the approach I'd suggest.