Issues with pymodbus since update to 0.87.1

Hi all, since the update to 0.87.1 I have started getting the following error out of Hass.io:

Unable to install package pymodbus==1.3.1: Failed building wheel for twisted
Command "/usr/local/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-vf21glxo/twisted/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-kyn1uxfm/install-record.txt --single-version-externally-managed --prefix  --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-vf21glxo/twisted/
You are using pip version 18.0, however version 19.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

I’ve tried what it suggests by it did not work:

core-ssh:~# pip install --upgrade pip
-bash: pip: command not found

Does anyone know why this is not working any more, but solar panel integration depends on it.

I have fixed it!

The modbus 1.3.1 dependancy needed to be updated to 1.4.0.

This fixed it and so I thought I would post that here just in case anyone else found it helpful.