# Building psutil

**URL:** <https://forum.openwrt.org/t/building-psutil/15387>\
**Category:** For Developers\
**Created:** [June 7, 2018, 8:37pm UTC](https://forum.openwrt.org/t/building-psutil/15387 "2018-06-07T20:37:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vahid-dan](https://forum.openwrt.org/user_avatar/forum.openwrt.org/vahid-dan/32/3285_2.png) [@vahid-dan](https://forum.openwrt.org/u/vahid-dan)\
**Post date:** [June 7, 2018, 8:37pm UTC](https://forum.openwrt.org/t/building-psutil/15387/1 "2018-06-07T20:37:28Z")

</div>

Hi;

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.

Bests,  
Vahid

---

<div class="post-metadata">

**Author:** ![jeff](https://forum.openwrt.org/letter_avatar/jeff/32/6_449c533f586939b6e5f246632a46421f.png) [@jeff](https://forum.openwrt.org/u/jeff)\
**Post date:** [June 7, 2018, 8:46pm UTC](https://forum.openwrt.org/t/building-psutil/15387/2 "2018-06-07T20:46:06Z")

</div>

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.
