I really give up
Been hasling 2 days now and I don't even get docker compose installed propperly.
So installing Mosquitto is difficult as the wiki assumes docker compose is installed.
tried this:
Code: Select all
Install Docker
ZWavejs2MQTT will run as a container, so Docker must be installed first.
Run these command to install Docker:
cd ~
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker pi
sudo apt install python3
sudo apt install python3.pip
sudo pip3 -v install docker-compose
and this gives me the next fault:
Code: Select all
This package requires Rust >=1.56.0.
error
Failed building wheel for bcrypt
Running setup.py clean for bcrypt
Running command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ho5h88v2/bcrypt/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all
running clean
removing 'build/lib.linux-armv7l-cpython-37' (and everything under it)
'build/bdist.linux-armv7l' does not exist -- can't clean it
'build/scripts-3.7' does not exist -- can't clean it
removing 'build'
running clean_rust
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install bcrypt:
1) Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
2) Ensure you have a recent Rust toolchain installed. bcrypt requires
rustc >= 1.56.0.
Python: 3.7.3
platform: Linux-5.10.103-v7l+-armv7l-with-debian-10.13
pip: 18.1
setuptools: 65.5.0
setuptools_rust: 1.5.2
rustc: n/a
=============================DEBUG ASSISTANCE=============================
error: can't find Rust compiler
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
This package requires Rust >=1.56.0.
Failed cleaning build dir for bcrypt
Failed to build bcrypt
docker 6.0.0 has requirement requests>=2.26.0, but you'll have requests 2.21.0 which is incompatible.
Installing collected packages: typing-extensions, zipp, importlib-metadata, attrs, pyrsistent, jsonschema, bcrypt, paramiko, docker, PyYAML, docopt, docker-compose
changing mode of /usr/local/bin/jsonschema to 755
Created temporary directory: /tmp/pip-record-ky657xyv
Running setup.py install for bcrypt ... Running command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ho5h88v2/bcrypt/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-ky657xyv/install-record.txt --single-version-externally-managed --compile
running install
/tmp/pip-build-env-0yobe7f_/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-37
creating build/lib.linux-armv7l-cpython-37/bcrypt
copying src/bcrypt/__about__.py -> build/lib.linux-armv7l-cpython-37/bcrypt
copying src/bcrypt/__init__.py -> build/lib.linux-armv7l-cpython-37/bcrypt
running egg_info
writing src/bcrypt.egg-info/PKG-INFO
writing dependency_links to src/bcrypt.egg-info/dependency_links.txt
writing requirements to src/bcrypt.egg-info/requires.txt
writing top-level names to src/bcrypt.egg-info/top_level.txt
reading manifest file 'src/bcrypt.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching 'requirements.txt'
warning: no previously-included files found matching 'release.py'
warning: no previously-included files found matching 'mypy.ini'
warning: no previously-included files matching '*' found under directory '.github'
warning: no previously-included files matching '*' found under directory '.circleci'
warning: no previously-included files found matching 'src/_bcrypt/target'
warning: no previously-included files matching '*' found under directory 'src/_bcrypt/target'
adding license file 'LICENSE'
writing manifest file 'src/bcrypt.egg-info/SOURCES.txt'
copying src/bcrypt/_bcrypt.pyi -> build/lib.linux-armv7l-cpython-37/bcrypt
copying src/bcrypt/py.typed -> build/lib.linux-armv7l-cpython-37/bcrypt
running build_ext
running build_rust
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install bcrypt:
1) Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
2) Ensure you have a recent Rust toolchain installed. bcrypt requires
rustc >= 1.56.0.
Python: 3.7.3
platform: Linux-5.10.103-v7l+-armv7l-with-debian-10.13
pip: 18.1
setuptools: 65.5.0
setuptools_rust: 1.5.2
rustc: n/a
=============================DEBUG ASSISTANCE=============================
error: can't find Rust compiler
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
This package requires Rust >=1.56.0.
error
Cleaning up...
Removing source in /tmp/pip-install-ho5h88v2/bcrypt
Removed build tracker '/tmp/pip-req-tracker-kll8w8k_'
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ho5h88v2/bcrypt/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-ky657xyv/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-ho5h88v2/bcrypt/
Exception information:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 143, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 386, in run
use_user_site=options.use_user_site,
File "/usr/lib/python3/dist-packages/pip/_internal/req/__init__.py", line 49, in install_given_reqs
**kwargs
File "/usr/lib/python3/dist-packages/pip/_internal/req/req_install.py", line 791, in install
spinner=spinner,
File "/usr/lib/python3/dist-packages/pip/_internal/utils/misc.py", line 723, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip._internal.exceptions.InstallationError: Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ho5h88v2/bcrypt/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-ky657xyv/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-ho5h88v2/bcrypt/
Does somebody has an step by step how to to get things working because my patience with ozw (and of my wife) is completely over.
Please take me by the hand
For non programmers the wiki is not user friendly I must say.
It seems that in HA it is more easy to install everything.
Sorry for being so disappointed
Jan