Z wave Installation error

I broke my NUC machine a couple of days ago when trying to get rid of DHCP So I had to reinstall the OS (Debian 9) from scratch.

I reinstalled HA (version 0.70.1 which is the current working version on my old RPi) in a virtual environment. Everything was working perfect (except for a strange warning I posted about yesterday…) until I tried to install z wave.

Now I’m getting errors and an invalid config notification:

2018-07-03 12:46:29 ERROR (Thread-2) [homeassistant.util.package] Unable to install package python_openzwave==0.4.3: Failed building wheel for python-openzwave
python-jose-cryptodome 1.3.2 has requirement pycryptodome<3.4.0,>=3.3.1, but you'll have pycryptodome 3.4.11 which is incompatible.
Command "/srv/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ctylqr69/python-openzwave/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-uqmvv70i/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.5/python-openzwave" failed with error code 1 in /tmp/pip-install-ctylqr69/python-openzwave/
2018-07-03 12:46:29 ERROR (MainThread) [homeassistant.requirements] Not initializing zwave because could not install requirement python_openzwave==0.4.3
2018-07-03 12:46:29 ERROR (MainThread) [homeassistant.setup] Setup failed for zwave: Could not install all requirements.

I found another thread on here about the same error and it recommended uninstalling pycryptodome in the venv and re-installing.

I did that then I got the following:

finity@NUC:~$ sudo su -s /bin/bash homeassistant
homeassistant@NUC:/home/finity$ source /srv/homeassistant/bin/activate
(homeassistant) homeassistant@NUC:/home/finity$ pip3 uninstall pycryptodome
Uninstalling pycryptodome-3.4.11:
  Would remove:
    /srv/homeassistant/lib/python3.5/site-packages/Crypto/*
    /srv/homeassistant/lib/python3.5/site-packages/pycryptodome-3.4.11.dist-info/*
Proceed (y/n)? y
  Successfully uninstalled pycryptodome-3.4.11
(homeassistant) homeassistant@NUC:/home/finity$ pip3 install pycryptodome
Collecting pycryptodome
  Downloading https://files.pythonhosted.org/packages/a4/78/6e8003733aa803354571413e7114f9ceb7b6b0c1086a8c101a121ccb398d/pycryptodome-3.6.3-cp35-cp35m-manylinux1_x86_64.whl (7.4MB)
    100% |████████████████████████████████| 7.4MB 1.6MB/s
broadlink 0.9 has requirement pycryptodome==3.4.11, but you'll have pycryptodome 3.6.3 which is incompatible.
python-jose-cryptodome 1.3.2 has requirement pycryptodome<3.4.0,>=3.3.1, but you'll have pycryptodome 3.6.3 which is incompatible.
Installing collected packages: pycryptodome
Successfully installed pycryptodome-3.6.3
(homeassistant) homeassistant@NUC:/home/finity$ exit

But then z wave still wouldn’t install and broadlink no longer worked.

I then uninstalled/re-installed pycryptodome v 3.4.11:

finity@NUC:~$ sudo su -s /bin/bash homeassistant
homeassistant@NUC:/home/finity$ source /srv/homeassistant/bin/activate
(homeassistant) homeassistant@NUC:/home/finity$ pip3 uninstall pycryptodome
Uninstalling pycryptodome-3.6.3:
  Would remove:
    /srv/homeassistant/lib/python3.5/site-packages/Crypto/*
    /srv/homeassistant/lib/python3.5/site-packages/pycryptodome-3.6.3.dist-info/*
Proceed (y/n)? y
  Successfully uninstalled pycryptodome-3.6.3
(homeassistant) homeassistant@NUC:/home/finity$ pip3 install pycryptodome==3.4.11
Collecting pycryptodome==3.4.11
  Using cached https://files.pythonhosted.org/packages/d5/dd/a15248d4a632aefc05f2699ed588827e62675fada79dc290f7d89afe9aeb/pycryptodome-3.4.11-cp35-cp35m-manylinux1_x86_64.whl
python-jose-cryptodome 1.3.2 has requirement pycryptodome<3.4.0,>=3.3.1, but you'll have pycryptodome 3.4.11 which is incompatible.
Installing collected packages: pycryptodome
Successfully installed pycryptodome-3.4.11

And now I’m back to where I started…

Here is the z wave config (that worked before):

zwave:
  config_path: /srv/homeassistant/lib/python3.6/site-packages/python_openzwave/ozw_config
  usb_path: /dev/serial/by-id/usb-0658_0200-if00
  network_key: "..................................................., 0x61"
  device_config:
    light.zw_light_1_level: 
      polling_intensity: 1
      refresh_value: true
      delay: 3
    light.zw_light_2_level:
      polling_intensity: 1
      refresh_value: true
      delay: 3
  polling_interval: 10000

What do I do now?