Unable to install Hologram on openwrt

I’m trying to install hologram package on openwrt which is having a kernel 3.18 and os 15.
Im using linkit 7688 board which has kernel 3.18 and os 15 on it.
I’m trying to install with the following command
pip install hologram-python
It is giving an error as follows

**ERROR: Complete output from command /usr/bin/python -u -c ‘import setuptools, tokenize; **file** =’"’"’/tmp/pip-install-SujeuI/psutil/setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)( **file** );code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code,  **file** , ‘"’"‘exec’"’"’))’ bdist_wheel -d /tmp/pip-wheel-d2iA7Y --python-tag cp27:**

**ERROR: running bdist_wheel**

**running build**

**running build_py**

**creating build**

**creating build/lib.linux-mips-2.7**

**creating build/lib.linux-mips-2.7/psutil**

**copying psutil/_pslinux.py -> build/lib.linux-mips-2.7/psutil**

**copying psutil/_pswindows.py -> build/lib.linux-mips-2.7/psutil**

**copying psutil/_common.py -> build/lib.linux-mips-2.7/psutil**

**copying psutil/_psbsd.py -> build/lib.linux-mips-2.7/psutil**

**copying psutil/ **init** .py -> build/lib.linux-mips-2.7/psutil**

**copying psutil/_pssunos.py -> build/lib.linux-mips-2.7/psutil**

**copying psutil/_psposix.py -> build/lib.linux-mips-2.7/psutil**

**copying psutil/_psosx.py -> build/lib.linux-mips-2.7/psutil**

**copying psutil/_compat.py -> build/lib.linux-mips-2.7/psutil**

**creating build/lib.linux-mips-2.7/psutil/tests**

**copying psutil/tests/test_linux.py -> build/lib.linux-mips-2.7/psutil/tests**

**copying psutil/tests/test_osx.py -> build/lib.linux-mips-2.7/psutil/tests**

**copying psutil/tests/test_unicode.py -> build/lib.linux-mips-2.7/psutil/tests**

**copying psutil/tests/ **init** .py -> build/lib.linux-mips-2.7/psutil/tests**

**copying psutil/tests/ **main** .py -> build/lib.linux-mips-2.7/psutil/tests**

**copying psutil/tests/test_system.py -> build/lib.linux-mips-2.7/psutil/tests**

**copying psutil/tests/test_sunos.py -> build/lib.linux-mips-2.7/psutil/tests**

**copying psutil/tests/test_windows.py -> build/lib.linux-mips-2.7/psutil/tests**

**copying psutil/tests/test_contracts.py -> build/lib.linux-mips-2.7/psutil/tests**

**copying psutil/tests/test_misc.py -> build/lib.linux-mips-2.7/psutil/tests**

**copying psutil/tests/test_process.py -> build/lib.linux-mips-2.7/psutil/tests**

**copying psutil/tests/test_connections.py -> build/lib.linux-mips-2.7/psutil/tests**

**copying psutil/tests/test_memory_leaks.py -> build/lib.linux-mips-2.7/psutil/tests**

**copying psutil/tests/test_bsd.py -> build/lib.linux-mips-2.7/psutil/tests**

**copying psutil/tests/test_posix.py -> build/lib.linux-mips-2.7/psutil/tests**

**warning: build_py: byte-compiling is disabled, skipping.**

**running build_ext**

**building ‘psutil._psutil_linux’ extension**

**creating build/temp.linux-mips-2.7**

**creating build/temp.linux-mips-2.7/psutil**

**ccache_cc -fno-strict-aliasing -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kec -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -DNDEBUG -fno-inline -DNDEBUG -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kec -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=531 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/usr/include/python2.7 -c psutil/_psutil_common.c -o build/temp.linux-mips-2.7/psutil/_psutil_common.o**

**unable to execute ‘ccache_cc’: No such file or directory**

**error: command ‘ccache_cc’ failed with exit status 1**

**----------------------------------------**

**ERROR: Failed building wheel for psutil**

Is there any other way to install hologram on openwrt. I have to make LTE calls using this hologram.

Any suggestions …

You can't build packages on a running OpenWrt device, for all practical purposes. You'd need to either find a package already built in the OpenWrt repo, or craft and build it yourself.

1 Like

I am not building. I am just trying to install hologram on openwrt with pip install hologram-python
While I run this command it is showing the above error logs.

If you look carefully it is trying to compile source. “Pure Python” packages are generally OK, those that build from source generally need to be built as a package on build system.

Edit:

ccache_cc -fno-strict-aliasing -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kec -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -DNDEBUG -fno-inline -DNDEBUG -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kec -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=531 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/usr/include/python2.7 -c psutil/_psutil_common.c -o build/temp.linux-mips-2.7/psutil/_psutil_common.o

is a compile statement -- ccache_cc is a "fancy" C compiler.