Pywebostv install help

Hello,
I have a Vero 4K+ , running the latest bullseye update. I am trying to install pywebostv , but get error1 when building install dependencies for cryptography 39.0.0, the install then options to cryptography 38.4.2, 37.0.0, etc. I am on my iPhone at the moment, but will get a log file for further troubleshooting. Thank you.

sudo apt install python3-pycryptodome
sudo pip install pywebostv
ERROR: Command errored out with exit status 1:
WARNING: Discarding https://files.pythonhosted.org/packages/12/e3/c46c274cf466b24e5d44df5d5cd31a31ff23e57f074a2bb30931a8c9b01a/cryptography-39.0.0.tar.gz#sha256=f964c7dcf7802d133e8dbd1565914fa0194f9d683d82411989889ecd701e8adf (from Links for cryptography) (requires-python:>=3.6). Command errored out with exit status 1: /usr/bin/python3 /usr/lib/python3/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-ujgopvdc/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i Simple index – ‘setuptools>=40.6.0,!=60.9.0’ wheel ‘cffi>=1.12; platform_python_implementation != ‘"’“‘PyPy’”’“‘’ ‘setuptools-rust>=0.11.4’ Check the logs for full command output.
WARNING: Discarding https://files.pythonhosted.org/packages/53/e6/9a144127f3a1c1e6d9c4d305390d82a38e9e0fc7e34166c44f59a1576247/cryptography-38.0.0.tar.gz#sha256=24d4137f3118900db02a2ec9a585d6dec2e79697fc90e84f19e5462dd1eeca44 (from Links for cryptography) (requires-python:>=3.6). Command errored out with exit status 1: /usr/bin/python3 /usr/lib/python3/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-3cwlfmka/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i Simple index – ‘setuptools>=40.6.0,!=60.9.0’ wheel 'cffi>=1.12; platform_python_implementation != '”‘“‘PyPy’”’"‘’ ‘setuptools-rust>=0.11.4’ Check the logs for full command output.

osmc@osmc:~$ python --version
Python 3.9.2

osmc@osmc:~$ cat /etc/os-release
PRETTY_NAME=“Open Source Media Center”
NAME=“OSMC”
VERSION=“October 2022”
VERSION_ID=“2022.10-1”
ID=osmc
ID_LIKE=debian

ANSI_COLOR=“1;31”
HOME_URL=“https://osmc.tv
SUPPORT_URL=“https://osmc.tv
BUG_REPORT_URL=“https://osmc.tv

osmc@osmc:~$ uname -r
4.9.269-16-osmc

osmc@osmc:~$ pip list
Package Version


certifi 2020.6.20
chardet 4.0.0
dbus-python 1.2.16
DBussy 1.3
idna 2.10
pexpect 4.8.0
Pillow 8.1.2
pip 20.3.4
pycparser 2.21
pycryptodomex 3.9.7
PyGObject 3.38.0
python-apt 2.2.1
requests 2.25.1
setuptools 52.0.0
six 1.16.0
Unidecode 1.2.0
urllib3 1.26.5
wheel 0.34.2

Probably an architecture mismatch or you are missing some dependencies to build that package.

I tried following the recommendation from another thread, to just grab the wheel

sudo pip3 install cryptography==38.0.0

But I get the same error.

@sam_nazarko
sudo apt-get install build-essential libssl-dev libffi-dev
python3-dev cargo pkg-config

followed by

sudo pip3 install cryptography==37.0.4

and then

sudo pip install pywebostv
Collecting pywebostv
Using cached pywebostv-0.8.8-py3-none-any.whl
Requirement already satisfied: requests[security] in /usr/lib/python3/dist-packages (from pywebostv) (2.25.1)
Collecting ws4py
Using cached ws4py-0.5.1-py3-none-any.whl
Collecting future
Using cached future-0.18.3-py3-none-any.whl
Requirement already satisfied: cryptography>=1.3.4 in /usr/local/lib/python3.9/dist-packages (from requests[security]->pywebostv) (37.0.4)
Collecting pyOpenSSL>=0.14
Using cached pyOpenSSL-23.0.0-py3-none-any.whl (57 kB)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.9/dist-packages (from cryptography>=1.3.4->requests[security]->pywebostv) (1.15.1)
Requirement already satisfied: pycparser in /usr/local/lib/python3.9/dist-packages (from cffi>=1.12->cryptography>=1.3.4->requests[security]->pywebostv) (2.21)
Collecting cryptography>=1.3.4
Using cached cryptography-39.0.0.tar.gz (603 kB)
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing wheel metadata … done
Building wheels for collected packages: cryptography
Building wheel for cryptography (PEP 517) … done
Created wheel for cryptography: filename=cryptography-39.0.0-cp39-cp39-linux_aarch64.whl size=2476566 sha256=4c3d2ddfc0546ff254ae76b1f4f90ef0aac657d2a428040739a188dc2a2d3b52
Stored in directory: /root/.cache/pip/wheels/3a/54/28/b5f76e6c77fd0183ccc3b96e1f6bd61867dd7785188b15217f
Successfully built cryptography
Installing collected packages: cryptography, pyOpenSSL, ws4py, future, pywebostv
Attempting uninstall: cryptography
Found existing installation: cryptography 37.0.4
Uninstalling cryptography-37.0.4:
Successfully uninstalled cryptography-37.0.4
Successfully installed cryptography-39.0.0 future-0.18.3 pyOpenSSL-23.0.0 pywebostv-0.8.8 ws4py-0.5.1

Success!