×

INDI Library v1.9.0 Released (23 Apr 2021)

Major INDI Library release v1.9.0 bring significant internal changes championed by @pawel-soja to modernize core INDI Library drivers and clients. New drivers for DeepSkyDad Flat Panel & Pegasus devices plus further improvements to PCM8 drivers.

Problem installing Indi Web Manager

  • Posts: 451
  • Thank you received: 67
Can anyone shed some light on this error - and is there anyway to install INDI Web manager under Armbian Focal?



astro@nanopct4:~$ pip3 install indiweb
Collecting indiweb
Downloading indiweb-0.1.7.tar.gz (368 kB)
|████████████████████████████████| 368 kB 202 kB/s
Requirement already satisfied: bottle in /usr/local/lib/python3.8/dist-packages (from indiweb) (0.12.18)
Collecting psutil
Downloading psutil-5.7.3.tar.gz (465 kB)
|████████████████████████████████| 465 kB 480 kB/s
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from indiweb) (2.22.0)
Building wheels for collected packages: indiweb, psutil
Building wheel for indiweb (setup.py) ... done
Created wheel for indiweb: filename=indiweb-0.1.7-py3-none-any.whl size=365153 sha256=0ae7186e68bcdfcb1b8b0c5bc08400835b258b6cbac20f2f09c6f4c96345c150
Stored in directory: /home/astro/.cache/pip/wheels/66/0b/3b/ad04eb8c2981c5b9281d1dd74b5a7d5b15bbb8f367810161eb
Building wheel for psutil (setup.py) ... error
ERROR: Command errored out with exit status 1:

command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_wwvp7nw/psutil/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_wwvp7nw/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-p22hm08o
cwd: /tmp/pip-install-_wwvp7nw/psutil/
Complete output (45 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.8
creating build/lib.linux-aarch64-3.8/psutil
copying psutil/_psosx.py -> build/lib.linux-aarch64-3.8/psutil
copying psutil/_pssunos.py -> build/lib.linux-aarch64-3.8/psutil
copying psutil/_pslinux.py -> build/lib.linux-aarch64-3.8/psutil
copying psutil/_psaix.py -> build/lib.linux-aarch64-3.8/psutil
copying psutil/__init__.py -> build/lib.linux-aarch64-3.8/psutil
copying psutil/_psposix.py -> build/lib.linux-aarch64-3.8/psutil
copying psutil/_common.py -> build/lib.linux-aarch64-3.8/psutil
copying psutil/_compat.py -> build/lib.linux-aarch64-3.8/psutil
copying psutil/_psbsd.py -> build/lib.linux-aarch64-3.8/psutil
copying psutil/_pswindows.py -> build/lib.linux-aarch64-3.8/psutil
creating build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/runner.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_contracts.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/__main__.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_linux.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_process.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_osx.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/__init__.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_sunos.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_misc.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_windows.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_posix.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_unicode.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_memleaks.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_connections.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_bsd.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_testutils.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_system.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_aix.py -> build/lib.linux-aarch64-3.8/psutil/tests
running build_ext
building 'psutil._psutil_linux' extension
creating build/temp.linux-aarch64-3.8
creating build/temp.linux-aarch64-3.8/psutil
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=573 -DPSUTIL_LINUX=1 -I/usr/include/python3.8 -c psutil/_psutil_common.c -o build/temp.linux-aarch64-3.8/psutil/_psutil_common.o
psutil/_psutil_common.c:9:10: fatal error: Python.h: No such file or directory

9 | #include <Python.h>
| ^~~~~~~~~~
compilation terminated.
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1

ERROR: Failed building wheel for psutil
Running setup.py clean for psutil
Successfully built indiweb
Failed to build psutil
Installing collected packages: psutil, indiweb
Running setup.py install for psutil ... error
ERROR: Command errored out with exit status 1:

command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_wwvp7nw/psutil/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_wwvp7nw/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-loakgl_q/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/astro/.local/include/python3.8/psutil
cwd: /tmp/pip-install-_wwvp7nw/psutil/
Complete output (45 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.8
creating build/lib.linux-aarch64-3.8/psutil
copying psutil/_psosx.py -> build/lib.linux-aarch64-3.8/psutil
copying psutil/_pssunos.py -> build/lib.linux-aarch64-3.8/psutil
copying psutil/_pslinux.py -> build/lib.linux-aarch64-3.8/psutil
copying psutil/_psaix.py -> build/lib.linux-aarch64-3.8/psutil
copying psutil/__init__.py -> build/lib.linux-aarch64-3.8/psutil
copying psutil/_psposix.py -> build/lib.linux-aarch64-3.8/psutil
copying psutil/_common.py -> build/lib.linux-aarch64-3.8/psutil
copying psutil/_compat.py -> build/lib.linux-aarch64-3.8/psutil
copying psutil/_psbsd.py -> build/lib.linux-aarch64-3.8/psutil
copying psutil/_pswindows.py -> build/lib.linux-aarch64-3.8/psutil
creating build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/runner.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_contracts.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/__main__.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_linux.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_process.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_osx.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/__init__.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_sunos.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_misc.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_windows.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_posix.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_unicode.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_memleaks.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_connections.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_bsd.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_testutils.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_system.py -> build/lib.linux-aarch64-3.8/psutil/tests
copying psutil/tests/test_aix.py -> build/lib.linux-aarch64-3.8/psutil/tests
running build_ext
building 'psutil._psutil_linux' extension
creating build/temp.linux-aarch64-3.8
creating build/temp.linux-aarch64-3.8/psutil
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=573 -DPSUTIL_LINUX=1 -I/usr/include/python3.8 -c psutil/_psutil_common.c -o build/temp.linux-aarch64-3.8/psutil/_psutil_common.o
psutil/_psutil_common.c:9:10: fatal error: Python.h: No such file or directory
9 | #include <Python.h>
| ^~~~~~~~~~
compilation terminated.
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_wwvp7nw/psutil/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_wwvp7nw/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-loakgl_q/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/astro/.local/include/python3.8/psutil Check the logs for full command output.
astro@nanopct4:~$

iOptron CEM120 EC2 and CEM25P
Celestron C11 EdgeHD
William Optics Star71
ASI 1600Mm Pro, ASI 462MC
Moonlight motorfocus & Esatto focuser
LodeStar X2 and ZWO OAG
DewBuster
NANO PC-T4
7 months 1 week ago #62225

Please Log in or Create an account to join the conversation.

  • Posts: 172
  • Thank you received: 91
Do you have python-dev installed? If not, do
sudo apt install python-dev

and try again.
Gayle H Riggsbee Observatory
Charlotte Amateur Astronomers Club

CGX
AT72EDII w/Homemade Moonlite Compatible Arduino Focuser
AT8RC w/Moonlite CSL 2.5" w/Moonlite Stepper v3
ZWO ASI1600MC-Pro
ZWO ASI1600MM-Pro
ZWO ASI174MM-Mini
ZWO OAG
ZWO EFW
AT2FF
7 months 1 week ago #62239

Please Log in or Create an account to join the conversation.

  • Posts: 451
  • Thank you received: 67
I just installed it as per your instructions above, and it made no difference.
I get the same errors when I try and install INDI Web manager.
Python3 is installed, but this doesn't work: sudo -H pip3 install indiweb
I get those same errors I posted above.

iOptron CEM120 EC2 and CEM25P
Celestron C11 EdgeHD
William Optics Star71
ASI 1600Mm Pro, ASI 462MC
Moonlight motorfocus & Esatto focuser
LodeStar X2 and ZWO OAG
DewBuster
NANO PC-T4
7 months 1 week ago #62240

Please Log in or Create an account to join the conversation.

  • Posts: 128
  • Thank you received: 33
No linux expert here and I don't use indiweb but just gave it a go on my Armbian Ubuntu focal NanoPC-T4 and it seems to work okay.

sudo add-apt-repository universe
sudo apt-get update
sudo apt install python3-pip
pip3 install setuptools
pip3 install wheel

sudo apt install python-dev
sudo apt install python3-dev
pip3 install indiweb
-Brian

NanoPC-T4 - Armbian focal
iOptron CEM25P mount
Photoline 80mm triplet refractor
ZWO ASI294MC Pro Imaging camera
ZWO ASI290MM mini Guide camera
ZWO ASI EAF focuser

7 months 1 week ago #62252

Please Log in or Create an account to join the conversation.

  • Posts: 451
  • Thank you received: 67
Ok, that helps a lot and I was able to successfully install INDI Web Manager... or do it seems. I will try to have it launch automatically upon boot next.

Thanks!

iOptron CEM120 EC2 and CEM25P
Celestron C11 EdgeHD
William Optics Star71
ASI 1600Mm Pro, ASI 462MC
Moonlight motorfocus & Esatto focuser
LodeStar X2 and ZWO OAG
DewBuster
NANO PC-T4
7 months 1 week ago #62259

Please Log in or Create an account to join the conversation.

Time to create page: 0.331 seconds