FHEMPY startet nach Update nicht mehr!

Begonnen von dergolem, 15 Oktober 2026, 11:29:47

Vorheriges Thema - Nächstes Thema

dergolem

Hallo, ich habe mit FHEMPY das Problem, das nach den Letzten Update immer die Meldung restart... please wait kommt. Die Fehlermeldung im logfile ist : 2026-10-15 00:01:12,900 - ERROR    - __main__: Failed to install fhempy, exit now...
Activating virtual environment...OK
2026-10-15 00:02:14,799 - ERROR    - __main__: Failed to load fhempy
Traceback (most recent call last):
  File "/opt/fhem/FHEM/bindings/python/bin/start_fhempy.py", line 169, in <module>
    import fhempy.lib.fhem_pythonbinding as fpb
ModuleNotFoundError: No module named 'fhempy'
2026-10-15 00:02:14,821 - INFO     - __main__: Attempting install of fhempy>=0.1.462
2026-10-15 00:02:23,876 - WARNING  - __main__: uv failed to install fhempy>=0.1.462, retry with pip: error: Failed to build `pycares==5.2.0`
  cause: The build backend returned an error
  cause: Call to `setuptools.build_meta.build_wheel` failed (exit status: 1)

         [stdout]
         running bdist_wheel
         running build
         running build_py
         running egg_info
         writing src/pycares.egg-info/PKG-INFO
         writing dependency_links to src/pycares.egg-info/dependency_links.txt
         writing requirements to src/pycares.egg-info/requires.txt
         writing top-level names to src/pycares.egg-info/top_level.txt
         reading manifest file 'src/pycares.egg-info/SOURCES.txt'
         reading manifest template 'MANIFEST.in'
         adding license file 'LICENSE'
         writing manifest file 'src/pycares.egg-info/SOURCES.txt'
         running build_ext
         generating cffi module 'build/temp.linux-armv7l-cpython-313/_cares.c'
         already up-to-date

         [stderr]
         warning: no previously-included files matching '__pycache__' found under directory '*'
         warning: no previously-included files matching '*.py[co]' found under directory '*'
         warning: no previously-included files matching '*.[ao]' found under directory '*'
         warning: no previously-included files matching '*.so' found under directory '*'
         no previously-included directories found matching 'docs/_build'
         Traceback (most recent call last):
           File "<string>", line 11, in <module>
             wheel_filename = backend.build_wheel(__import__("os").fsdecode(b"/opt/fhem/.cache/uv/builds-v0/.tmpc9OUke"), {}, None)
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/build_meta.py", line 438, in build_wheel
             return _build(['bdist_wheel'])
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/build_meta.py", line 429, in _build
             return self._build_with_temp_dir(
                    ~~~~~~~~~~~~~~~~~~~~~~~~~^
                 cmd,
                 ^^^^
             ...<3 lines>...
                 self._arbitrary_args(config_settings),
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
             )
             ^
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/build_meta.py", line 410, in _build_with_temp_dir
             self.run_setup()
             ~~~~~~~~~~~~~~^^
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup
             exec(code, locals())  # noqa: S102 # exec is intentional here
             ~~~~^^^^^^^^^^^^^^^^
           File "<string>", line 173, in <module>
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/__init__.py", line 117, in setup
             return distutils.core.setup(**attrs)  # type: ignore[return-value]
                    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/_distutils/core.py", line 168, in setup
             return run_commands(dist)
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/_distutils/core.py", line 184, in run_commands
             dist.run_commands()
             ~~~~~~~~~~~~~~~~~^^
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 1028, in run_commands
             self.run_command(cmd)
             ~~~~~~~~~~~~~~~~^^^^^
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/dist.py", line 1106, in run_command
             super().run_command(command)
             ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 1047, in run_command
             cmd_obj.run()
             ~~~~~~~~~~~^^
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/command/bdist_wheel.py", line 385, in run
             self.run_command("build")
             ~~~~~~~~~~~~~~~~^^^^^^^^^
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/_distutils/cmd.py", line 342, in run_command
             self.distribution.run_command(command)
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/dist.py", line 1106, in run_command
             super().run_command(command)
             ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 1047, in run_command
             cmd_obj.run()
             ~~~~~~~~~~~^^
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/_distutils/command/build.py", line 137, in run
             self.run_command(cmd_name)
             ~~~~~~~~~~~~~~~~^^^^^^^^^^
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/_distutils/cmd.py", line 342, in run_command
             self.distribution.run_command(command)
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/dist.py", line 1106, in run_command
             super().run_command(command)
             ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 1047, in run_command
             cmd_obj.run()
             ~~~~~~~~~~~^^
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/cffi/setuptools_ext.py", line 157, in run
             base_class.run(self)
             ~~~~~~~~~~~~~~^^^^^^
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/command/build_ext.py", line 95, in run
             _build_ext.run(self)
             ~~~~~~~~~~~~~~^^^^^^
           File "/opt/fhem/.cache/uv/builds-v0/.tmpM59Djb/lib/python3.13/site-packages/setuptools/_distutils/command/build_ext.py", line 382, in run
             self.build_extensions()
             ~~~~~~~~~~~~~~~~~~~~~^^
           File "<string>", line 34, in build_extensions
         RuntimeError: CMake >= 3.5 is required to build pycares.
         Please install CMake from https://cmake.org/ or through your system package manager:
           Ubuntu/Debian: apt-get install cmake
           RHEL/CentOS/Fedora: dnf install cmake
           macOS: brew install cmake
           Windows: Download from https://cmake.org/download/
           FreeBSD: pkg install cmake

hint: `pycares` (v5.2.0) was included because `fhempy` (v0.1.784) depends on `aiohttp[speedups]` (v3.14.3) which depends on `aiodns` (v4.0.4) which depends on `pycares`

hint: Build failures usually indicate a problem with the package or the build environment

Gruß

DasQ

Probier mal cmake zu installieren

ZitatRuntimeError: CMake >= 3.5 is required to build pycares.

Please install CMake from https://cmake.org/ or through your system package manager:
           Ubuntu/Debian: apt-get install cmake
           RHEL/CentOS/Fedora: dnf install cmake
           macOS: brew install cmake
           Windows: Download from https://cmake.org/download/
           FreeBSD: pkg install cmake
Fhem in Proxmox on MacMini
Absoluter Befürworter der Konsequenten-Kleinschreibung https://de.wikipedia.org/wiki/Kleinschreibung
Infos zu Klimawandel http://www.globalcarbonatlas.org

satprofi

bei mir klappt das update gar nicht mehr. kurz update, dann reboot und weiterhin alte version.
gruss
-----------------------------------------------------------------------
beelink miniPC -Ubuntu - Fhem 6.x CUL 868, FS20, NetIO230 CUL 433
HMLAN, HM-CC-RT-DN,Homematic Actoren,Zigbee2MQTT,Shelly,
Tasmota,LD382A,Telegram