OpenVoiceOS / ovos-installer

Open Voice OS and/or HiveMind installer using Ansible with an intuitive and easy Text-based User Interface
https://www.openvoiceos.org
48 stars 13 forks source link

Installer fails on OrangePiPc armv7, Armbian 23.11.1 #45

Closed dzianisv closed 5 months ago

dzianisv commented 5 months ago

Environment

root@orangepipc:~# uname -a
Linux orangepipc 6.1.63-current-sunxi #1 SMP Mon Nov 20 10:52:19 UTC 2023 armv7l GNU/Linux
root@orangepipc:~# cat /etc/issue
Armbian 23.11.1 Bookworm \l 

Step to reproduce

apt install -yq libffi-dev rustc cargo pkg-config libssl-dev
# Set ENABLED=false /etc/default/armbian-zram-config
systemctl mask tmp.mount
reboot
curl -s https://raw.githubusercontent.com/OpenVoiceOS/ovos-installer/main/installer.sh | sudo bash

Result

Output of the script:

➤ Checking for existing instance... [done]
➤ Retrieving OS information... [done]
➤ Detecting AVX/SIMD support... [done]
➤ Checking for Raspberry Pi board... [done]
➤ Detecting sound server... [done]
➤ Detecting display server... [done]
➤ Validating installer package requirements... [done]
➤ Creating installer Python virtualenv... [done]
➤ Installing Ansible requirements in Python virtualenv... [done]
[fail]

Last log lines: /var/log/ovos-installer.log

Using cached packaging-23.2-py3-none-any.whl (53 kB)
Building wheels for collected packages: cryptography
  Building wheel for cryptography (pyproject.toml): started
  Building wheel for cryptography (pyproject.toml): still running...
  Building wheel for cryptography (pyproject.toml): still running...
  Building wheel for cryptography (pyproject.toml): still running...
  Building wheel for cryptography (pyproject.toml): still running...
  Building wheel for cryptography (pyproject.toml): still running...
  Building wheel for cryptography (pyproject.toml): still running...
  Building wheel for cryptography (pyproject.toml): still running...
  Building wheel for cryptography (pyproject.toml): finished with status 'done'
  Created wheel for cryptography: filename=cryptography-41.0.7-cp311-cp311-linux_armv7l.whl size=3550637 sha256=2d0a6fdc42f875ca4e090e00b1d81d2fd9e2bf4f440778b80a20b74c62b909a4
  Stored in directory: /root/.cache/pip/wheels/f4/22/73/793170c1884f52e858af74be658b9214135ba9fa4bb32902d1
Successfully built cryptography
Installing collected packages: resolvelib, PyYAML, pycparser, packaging, MarkupSafe, jinja2, cffi, cryptography, ansible-core, ansible
Successfully installed MarkupSafe-2.1.3 PyYAML-5.3.1 ansible-8.6.1 ansible-core-2.15.8 cffi-1.16.0 cryptography-41.0.7 jinja2-3.1.3 packaging-23.2 pycparser-2.21 resolvelib-1.0.1
Starting galaxy collection install process
Process install dependency map
Starting collection install process
'ansible.posix:1.5.4' is already installed, skipping.
Downloading https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/artifacts/community-docker-3.4.11.tar.gz to /root/.ansible/tmp/ansible-local-35380iy5ytf9/tmpk6c6krcu/community-docker-3.4.11-eup_lp3m
Installing 'community.docker:3.4.11' to '/root/.ansible/collections/ansible_collections/community/docker'
community.docker:3.4.11 was installed successfully
Downloading https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/artifacts/community-general-8.0.2.tar.gz to /root/.ansible/tmp/ansible-local-35380iy5ytf9/tmpk6c6krcu/community-general-8.0.2-oertu68w
Installing 'community.general:8.0.2' to '/root/.ansible/collections/ansible_collections/community/general'
community.general:8.0.2 was installed successfully
goldyfruit commented 5 months ago

armv7 is not yet supported by the installer. I'll check what I can do for that but the experience will not be the same as on armv8 or 64-bits as TensorFlow and ONNX Runtime will not be available.

dzianisv commented 5 months ago

Anyway I am going to use it with OpenAI Whisper at cloud.

goldyfruit commented 5 months ago

32-bit support has been added, I tested the installation on armv6l and armv7l. For these architectures, only Python virtual environment is available has there are no 32-bit container images.

Let me know if it works for you. :+1:

goldyfruit commented 5 months ago

Closing for now, don't hesitate to re-open. :100: