(Solved) Zigbee for Domoticz v7 install

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
Davdom
Posts: 10
Joined: Sunday 13 October 2019 23:35
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Contact:

(Solved) Zigbee for Domoticz v7 install

Post by Davdom »

Hello,

I tried to upgrade from "Zigate" to "Zigbee for Domoticz" V7 plugin on my bullseye Debian but it failed with following errors.
I had exactly the same errors with a fresh install of the plugin from scratch.
Any idea?
I run 2023.2 version of Domoticz.

"Collecting multidict<7.0,>=4.5 (from aiohttp->zigpy==0.56.1->-r requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages ... 0.4.tar.gz
Installing build dependencies ... done
Missing build requirements in pyproject.toml for multidict<7.0,>=4.5 from https://files.pythonhosted.org/packages ... 65dbc1da49 (from aiohttp->zigpy==0.56.1->-r requirements.txt (line 5)).
The project does not specify a build backend, and pip cannot fall back to setuptools without 'wheel'."

Then

"Collecting maturin<2.0,>=1.0
Using cached https://files.pythonhosted.org/packages ... 2.0.tar.gz
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Collecting tomli>=1.1.0 (from maturin<2.0,>=1.0)
Using cached https://files.pythonhosted.org/packages ... ne-any.whl
Building wheels for collected packages: maturin
Running setup.py bdist_wheel for maturin: started
Running setup.py bdist_wheel for maturin: finished with status 'error'
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-51grtwg9/maturin/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-kv79ve19 --python-tag cp39:
/tmp/pip-build-env-xh0bx0_1/lib/python3.9/site-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************

!!
dist.fetch_build_eggs(dist.setup_requires)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-39
creating build/lib.linux-armv7l-cpython-39/maturin
copying maturin/import_hook.py -> build/lib.linux-armv7l-cpython-39/maturin
copying maturin/__main__.py -> build/lib.linux-armv7l-cpython-39/maturin
copying maturin/__init__.py -> build/lib.linux-armv7l-cpython-39/maturin
running egg_info
creating maturin.egg-info
writing maturin.egg-info/PKG-INFO
writing dependency_links to maturin.egg-info/dependency_links.txt
writing requirements to maturin.egg-info/requires.txt
writing top-level names to maturin.egg-info/top_level.txt
writing manifest file 'maturin.egg-info/SOURCES.txt'
reading manifest file 'maturin.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.json' under directory 'src/python_interpreter'
writing manifest file 'maturin.egg-info/SOURCES.txt'
running build_ext
running build_rust
cargo build --manifest-path Cargo.toml --message-format=json-render-diagnostics --release -v --no-default-features --locked
error: failed to parse manifest at `/tmp/pip-install-51grtwg9/maturin/Cargo.toml`

Caused by:
namespaced features with the `dep:` prefix are only allowed on the nightly channel and requires the `-Z namespaced-features` flag on the command-line
error: `cargo build --manifest-path Cargo.toml --message-format=json-render-diagnostics --release -v --no-default-features --locked` failed with code 101

----------------------------------------
Failed building wheel for maturin
Running setup.py clean for maturin
Failed to build maturin
Installing collected packages: tomli, maturin
Running setup.py install for maturin: started
Running setup.py install for maturin: finished with status 'error'
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-51grtwg9/maturin/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-cdeb0i_k/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-j0grvdbb --compile:
/tmp/pip-build-env-xh0bx0_1/lib/python3.9/site-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************

!!
dist.fetch_build_eggs(dist.setup_requires)
running install
/tmp/pip-build-env-xh0bx0_1/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.

See https://blog.ganssle.io/articles/2021/1 ... cated.html for details.
********************************************************************************

!!
self.initialize_options()
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-39
creating build/lib.linux-armv7l-cpython-39/maturin
copying maturin/import_hook.py -> build/lib.linux-armv7l-cpython-39/maturin
copying maturin/__main__.py -> build/lib.linux-armv7l-cpython-39/maturin
copying maturin/__init__.py -> build/lib.linux-armv7l-cpython-39/maturin
running egg_info
writing maturin.egg-info/PKG-INFO
writing dependency_links to maturin.egg-info/dependency_links.txt
writing requirements to maturin.egg-info/requires.txt
writing top-level names to maturin.egg-info/top_level.txt
reading manifest file 'maturin.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.json' under directory 'src/python_interpreter'
writing manifest file 'maturin.egg-info/SOURCES.txt'
running build_ext
running build_rust
cargo build --manifest-path Cargo.toml --message-format=json-render-diagnostics --release -v --no-default-features --locked
error: failed to parse manifest at `/tmp/pip-install-51grtwg9/maturin/Cargo.toml`

Caused by:
namespaced features with the `dep:` prefix are only allowed on the nightly channel and requires the `-Z namespaced-features` flag on the command-line
error: `cargo build --manifest-path Cargo.toml --message-format=json-render-diagnostics --release -v --no-default-features --locked` failed with code 101

----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-51grtwg9/maturin/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-cdeb0i_k/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-j0grvdbb --compile" failed with error code 1 in /tmp/pip-install-51grtwg9/maturin/

----------------------------------------
Command "/usr/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-j0grvdbb --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- maturin>=1.0,<2.0" failed with error code 1 in None"
Davdom
Posts: 10
Joined: Sunday 13 October 2019 23:35
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Contact:

Re: (Solved) Zigbee for Domoticz v7 install

Post by Davdom »

I reinstalled python packages and everything went well.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest