Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [Frage] Xiaomi Vacuum cleaner

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    324

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.5k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.5k

[Frage] Xiaomi Vacuum cleaner

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
2.2k Beiträge 204 Kommentatoren 987.7k Aufrufe 39 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • T Offline
    T Offline
    tpr
    schrieb am zuletzt editiert von
    #213

    @skorpil:

    Bei mir hat die Installation von Python-mirobo auf einem Raspi 3 NICHT geklappt. Hier der Fehlerbericht. `
    Du brauchst python3 für das Skript, ich glaube das ist das Problem. Wenn aber nicht, das steht die Fehlermeldung irgendwo höher als was im Bild zu stehen ist.

    1 Antwort Letzte Antwort
    0
    • S Offline
      S Offline
      skorpil
      schrieb am zuletzt editiert von
      #214

      Ahhhh, ich dachte Python 2. alles klar!

      1 Antwort Letzte Antwort
      0
      • T Offline
        T Offline
        tpr
        schrieb am zuletzt editiert von
        #215

        @bahnuhr:

        Hab es unter win7 nicht zum Laufen gebracht. `
        Gibt es eine Fehlermeldung dazu? Probier mal mit -d wie "mirobo -d start" um mehrere Information zu sehen was wird vermitteln.

        1 Antwort Letzte Antwort
        0
        • S Offline
          S Offline
          skorpil
          schrieb am zuletzt editiert von
          #216

          Leider auch Fehlermeldung bei Python 3:

            Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 100%  389  Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB):            Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 389kB downloaded
          Downloading/unpacking cffi>=1.4.1 (from cryptography->python-mirobo)
            Downloading cffi-1.9.1.tar.gz (407kB): 407kB downloaded
            Running setup.py (path:/tmp/pip-build-vmqvaiw6/cffi/setup.py) egg_info for package cffi
              Package libffi was not found in the pkg-config search path.
              Perhaps you should add the directory containing `libffi.pc'
              to the PKG_CONFIG_PATH environment variable
              No package 'libffi' found
              Package libffi was not found in the pkg-config search path.
              Perhaps you should add the directory containing `libffi.pc'
              to the PKG_CONFIG_PATH environment variable
              No package 'libffi' found
              Package libffi was not found in the pkg-config search path.
              Perhaps you should add the directory containing `libffi.pc'
              to the PKG_CONFIG_PATH environment variable
              No package 'libffi' found
              Package libffi was not found in the pkg-config search path.
              Perhaps you should add the directory containing `libffi.pc'
              to the PKG_CONFIG_PATH environment variable
              No package 'libffi' found
              Package libffi was not found in the pkg-config search path.
              Perhaps you should add the directory containing `libffi.pc'
              to the PKG_CONFIG_PATH environment variable
              No package 'libffi' found
          
          Downloading/unpacking appdirs>=1.4.0 (from setuptools>=11.3->cryptography->python-mirobo)
            Downloading appdirs-1.4.2-py2.py3-none-any.whl
          Downloading/unpacking packaging>=16.8 (from setuptools>=11.3->cryptography->python-mirobo)
            Downloading packaging-16.8-py2.py3-none-any.whl
          Downloading/unpacking pycparser (from cffi>=1.4.1->cryptography->python-mirobo)
            Downloading pycparser-2.17.tar.gz (231kB): 231kB downloaded
            Running setup.py (path:/tmp/pip-build-vmqvaiw6/pycparser/setup.py) egg_info for package pycparser
          
              warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
              warning: no previously-included files matching 'lextab.*' found under directory 'tests'
              warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
              warning: no previously-included files matching 'lextab.*' found under directory 'examples'
          Downloading/unpacking pyparsing (from packaging>=16.8->setuptools>=11.3->cryptography->python-mirobo)
            Downloading pyparsing-2.1.10-py2.py3-none-any.whl (56kB): 56kB downloaded
          Installing collected packages: python-mirobo, click, pretty-cron, construct, cryptography, idna, pyasn1, setuptools, cffi, appdirs, packaging, pycparser, pyparsing
            Running setup.py install for cryptography
              Package libffi was not found in the pkg-config search path.
              Perhaps you should add the directory containing `libffi.pc'
              to the PKG_CONFIG_PATH environment variable
              No package 'libffi' found
              Package libffi was not found in the pkg-config search path.
              Perhaps you should add the directory containing `libffi.pc'
              to the PKG_CONFIG_PATH environment variable
              No package 'libffi' found
              Package libffi was not found in the pkg-config search path.
              Perhaps you should add the directory containing `libffi.pc'
              to the PKG_CONFIG_PATH environment variable
              No package 'libffi' found
              Package libffi was not found in the pkg-config search path.
              Perhaps you should add the directory containing `libffi.pc'
              to the PKG_CONFIG_PATH environment variable
              No package 'libffi' found
              Package libffi was not found in the pkg-config search path.
              Perhaps you should add the directory containing `libffi.pc'
              to the PKG_CONFIG_PATH environment variable
              No package 'libffi' found
              c/_cffi_backend.c:15:17: fatal error: ffi.h: Datei oder Verzeichnis nicht gefunden
               #include <ffi.h>^
              compilation terminated.
              Traceback (most recent call last):
                File "/usr/lib/python3.4/distutils/unixccompiler.py", line 116, in _compile
                  extra_postargs)
                File "/usr/lib/python3.4/distutils/ccompiler.py", line 909, in spawn
                  spawn(cmd, dry_run=self.dry_run)
                File "/usr/lib/python3.4/distutils/spawn.py", line 36, in spawn
                  _spawn_posix(cmd, search_path, dry_run=dry_run)
                File "/usr/lib/python3.4/distutils/spawn.py", line 162, in _spawn_posix
                  % (cmd, exit_status))
              distutils.errors.DistutilsExecError: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
          
              During handling of the above exception, another exception occurred:    
              Traceback (most recent call last):
                File "/usr/lib/python3.4/distutils/core.py", line 148, in setup
                  dist.run_commands()
                File "/usr/lib/python3.4/distutils/dist.py", line 955, in run_commands
                  self.run_command(cmd)
                File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
                  cmd_obj.run()
                File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 161, in run
                  cmd = self.call_command('install_lib', warn_dir=0)
                File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 147, in call_command
                  self.run_command(cmdname)
                File "/usr/lib/python3.4/distutils/cmd.py", line 313, in run_command
                  self.distribution.run_command(command)
                File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
                  cmd_obj.run()
                File "/usr/lib/python3/dist-packages/setuptools/command/install_lib.py", line 22, in run
                  self.build()
                File "/usr/lib/python3.4/distutils/command/install_lib.py", line 109, in build
                  self.run_command('build_ext')
                File "/usr/lib/python3.4/distutils/cmd.py", line 313, in run_command
                  self.distribution.run_command(command)
                File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
                  cmd_obj.run()
                File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 54, in run
                  _build_ext.run(self)
                File "/usr/lib/python3.4/distutils/command/build_ext.py", line 339, in run
                  self.build_extensions()
                File "/usr/lib/python3.4/distutils/command/build_ext.py", line 448, in build_extensions
                  self.build_extension(ext)
                File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 187, in build_extension
                  _build_ext.build_extension(self, ext)
                File "/usr/lib/python3.4/distutils/command/build_ext.py", line 503, in build_extension
                  depends=ext.depends)
                File "/usr/lib/python3.4/distutils/ccompiler.py", line 574, in compile
                  self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
                File "/usr/lib/python3.4/distutils/unixccompiler.py", line 118, in _compile
                  raise CompileError(msg)
              distutils.errors.CompileError: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
          
              During handling of the above exception, another exception occurred:    
              Traceback (most recent call last):
                File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1063, in run_setup
                  run_setup(setup_script, args)
                File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 68, in run_setup
                  DirectorySandbox(setup_dir).run(runner)
                File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 114, in run
                  return func()
                File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 67, in runner
                  _execfile(setup_script, ns)
                File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 43, in _execfile
                  exec(code, globals, locals)
                File "/tmp/easy_install-xhimgt7q/cffi-1.9.1/setup.py", line 202, in <module>for i in range(1, len(argv))):
                File "/usr/lib/python3.4/distutils/core.py", line 163, in setup
                  raise SystemExit("error: " + str(msg))
              SystemExit: error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
          
              During handling of the above exception, another exception occurred:    
              Traceback (most recent call last):
                File "<string>", line 1, in <module>File "/tmp/pip-build-vmqvaiw6/cryptography/setup.py", line 334, in <module>**keywords_with_side_effects(sys.argv)
                File "/usr/lib/python3.4/distutils/core.py", line 108, in setup
                  _setup_distribution = dist = klass(attrs)
                File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 262, in __init__
                  self.fetch_build_eggs(attrs['setup_requires'])
                File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 287, in fetch_build_eggs
                  replace_conflicting=True,
                File "/usr/lib/python3/dist-packages/pkg_resources.py", line 631, in resolve
                  dist = best[req.key] = env.best_match(req, ws, installer)
                File "/usr/lib/python3/dist-packages/pkg_resources.py", line 874, in best_match
                  return self.obtain(req, installer)
                File "/usr/lib/python3/dist-packages/pkg_resources.py", line 886, in obtain
                  return installer(requirement)
                File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 338, in fetch_build_egg
                  return cmd.easy_install(req)
                File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 636, in easy_install
                  return self.install_item(spec, dist.location, tmpdir, deps)
                File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 666, in install_item
                  dists = self.install_eggs(spec, download, tmpdir)
                File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 856, in install_eggs
                  return self.build_and_install(setup_script, setup_base)
                File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1078, in build_and_install
                  self.run_setup(setup_script, setup_base, args)
                File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1066, in run_setup
                  raise DistutilsError("Setup script exited with %s" % (v.args[0],))
              distutils.errors.DistutilsError: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
              Complete output from command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-vmqvaiw6/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-d2rx3x4n-record/install-record.txt --single-version-externally-managed --compile:
              Package libffi was not found in the pkg-config search path.
          
          Perhaps you should add the directory containing `libffi.pc'
          
          to the PKG_CONFIG_PATH environment variable
          
          No package 'libffi' found
          
          Package libffi was not found in the pkg-config search path.
          
          Perhaps you should add the directory containing `libffi.pc'
          
          to the PKG_CONFIG_PATH environment variable
          
          No package 'libffi' found
          
          Package libffi was not found in the pkg-config search path.
          
          Perhaps you should add the directory containing `libffi.pc'
          
          to the PKG_CONFIG_PATH environment variable
          
          No package 'libffi' found
          
          Package libffi was not found in the pkg-config search path.
          
          Perhaps you should add the directory containing `libffi.pc'
          
          to the PKG_CONFIG_PATH environment variable
          
          No package 'libffi' found
          
          Package libffi was not found in the pkg-config search path.
          
          Perhaps you should add the directory containing `libffi.pc'
          
          to the PKG_CONFIG_PATH environment variable
          
          No package 'libffi' found
          
          c/_cffi_backend.c:15:17: fatal error: ffi.h: Datei oder Verzeichnis nicht gefunden
          
           #include <ffi.h>^
          
          compilation terminated.
          
          Traceback (most recent call last):
          
            File "/usr/lib/python3.4/distutils/unixccompiler.py", line 116, in _compile
          
              extra_postargs)
          
            File "/usr/lib/python3.4/distutils/ccompiler.py", line 909, in spawn
          
              spawn(cmd, dry_run=self.dry_run)
          
            File "/usr/lib/python3.4/distutils/spawn.py", line 36, in spawn
          
              _spawn_posix(cmd, search_path, dry_run=dry_run)
          
            File "/usr/lib/python3.4/distutils/spawn.py", line 162, in _spawn_posix
          
              % (cmd, exit_status))
          
          distutils.errors.DistutilsExecError: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
          
          During handling of the above exception, another exception occurred:
          
          Traceback (most recent call last):
          
            File "/usr/lib/python3.4/distutils/core.py", line 148, in setup
          
              dist.run_commands()
          
            File "/usr/lib/python3.4/distutils/dist.py", line 955, in run_commands
          
              self.run_command(cmd)
          
            File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
              cmd_obj.run()
          
            File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 161, in run
          
              cmd = self.call_command('install_lib', warn_dir=0)
          
            File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 147, in call_command
          
              self.run_command(cmdname)
          
            File "/usr/lib/python3.4/distutils/cmd.py", line 313, in run_command
          
              self.distribution.run_command(command)
          
            File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
              cmd_obj.run()
          
            File "/usr/lib/python3/dist-packages/setuptools/command/install_lib.py", line 22, in run
          
              self.build()
          
            File "/usr/lib/python3.4/distutils/command/install_lib.py", line 109, in build
          
              self.run_command('build_ext')
          
            File "/usr/lib/python3.4/distutils/cmd.py", line 313, in run_command
          
              self.distribution.run_command(command)
          
            File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
              cmd_obj.run()
          
            File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 54, in run
          
              _build_ext.run(self)
          
            File "/usr/lib/python3.4/distutils/command/build_ext.py", line 339, in run
          
              self.build_extensions()
          
            File "/usr/lib/python3.4/distutils/command/build_ext.py", line 448, in build_extensions
          
              self.build_extension(ext)
          
            File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 187, in build_extension
          
              _build_ext.build_extension(self, ext)
          
            File "/usr/lib/python3.4/distutils/command/build_ext.py", line 503, in build_extension
          
              depends=ext.depends)
          
            File "/usr/lib/python3.4/distutils/ccompiler.py", line 574, in compile
          
              self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
          
            File "/usr/lib/python3.4/distutils/unixccompiler.py", line 118, in _compile
          
              raise CompileError(msg)
          
          distutils.errors.CompileError: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
          
          During handling of the above exception, another exception occurred:
          
          Traceback (most recent call last):
          
            File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1063, in run_setup
          
              run_setup(setup_script, args)
          
            File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 68, in run_setup
          
              DirectorySandbox(setup_dir).run(runner)
          
            File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 114, in run
          
              return func()
          
            File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 67, in runner
          
              _execfile(setup_script, ns)
          
            File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 43, in _execfile
          
              exec(code, globals, locals)
          
            File "/tmp/easy_install-xhimgt7q/cffi-1.9.1/setup.py", line 202, in <module>for i in range(1, len(argv))):
          
            File "/usr/lib/python3.4/distutils/core.py", line 163, in setup
          
              raise SystemExit("error: " + str(msg))
          
          SystemExit: error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
          
          During handling of the above exception, another exception occurred:
          
          Traceback (most recent call last):
          
            File "<string>", line 1, in <module>File "/tmp/pip-build-vmqvaiw6/cryptography/setup.py", line 334, in <module>**keywords_with_side_effects(sys.argv)
          
            File "/usr/lib/python3.4/distutils/core.py", line 108, in setup
          
              _setup_distribution = dist = klass(attrs)
          
            File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 262, in __init__
          
              self.fetch_build_eggs(attrs['setup_requires'])
          
            File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 287, in fetch_build_eggs
          
              replace_conflicting=True,
          
            File "/usr/lib/python3/dist-packages/pkg_resources.py", line 631, in resolve
          
              dist = best[req.key] = env.best_match(req, ws, installer)
          
            File "/usr/lib/python3/dist-packages/pkg_resources.py", line 874, in best_match
          
              return self.obtain(req, installer)
          
            File "/usr/lib/python3/dist-packages/pkg_resources.py", line 886, in obtain
          
              return installer(requirement)
          
            File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 338, in fetch_build_egg
          
              return cmd.easy_install(req)
          
            File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 636, in easy_install
          
              return self.install_item(spec, dist.location, tmpdir, deps)
          
            File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 666, in install_item
          
              dists = self.install_eggs(spec, download, tmpdir)
          
            File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 856, in install_eggs
          
              return self.build_and_install(setup_script, setup_base)
          
            File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1078, in build_and_install
          
              self.run_setup(setup_script, setup_base, args)
          
            File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1066, in run_setup
          
              raise DistutilsError("Setup script exited with %s" % (v.args[0],))
          
          distutils.errors.DistutilsError: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
          
          ----------------------------------------
          Cleaning up...
          Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-vmqvaiw6/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-d2rx3x4n-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-vmqvaiw6/cryptography
          Storing debug log for failure in /root/.pip/pip.log
          root@raspberrypi:~#</module></module></string></module></ffi.h></module></module></string></module></ffi.h> 
          
          1 Antwort Letzte Antwort
          0
          • T Offline
            T Offline
            tpr
            schrieb am zuletzt editiert von
            #217

            @skorpil:

            Leider auch Fehlermeldung bei Python 3:

            ! ````
            Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 100% 389 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 389kB downloaded
            Downloading/unpacking cffi>=1.4.1 (from cryptography->python-mirobo)
            Downloading cffi-1.9.1.tar.gz (407kB): 407kB downloaded
            Running setup.py (path:/tmp/pip-build-vmqvaiw6/cffi/setup.py) egg_info for package cffi
            Package libffi was not found in the pkg-config search path.
            Perhaps you should add the directory containing `libffi.pc'
            to the PKG_CONFIG_PATH environment variable
            No package 'libffi' found

            ```` `

            Die ffi headers installieren:

            apt-get install libffi-dev
            
            
            1 Antwort Letzte Antwort
            0
            • S Offline
              S Offline
              skorpil
              schrieb am zuletzt editiert von
              #218

              Habe ich installiert. Danach erneut mirobo mit folgendem Fehlerprotokoll:

              ! Downloading/unpacking cffi>=1.4.1 (from cryptography->python-mirobo)
              ! Downloading cffi-1.9.1.tar.gz (407kB): 407kB downloaded
              ! Running setup.py (path:/tmp/pip-build-52nwxyku/cffi/setup.py) egg_info for package cffi
              ! Downloading/unpacking appdirs>=1.4.0 (from setuptools>=11.3->cryptography->python-mirobo)
              ! Downloading appdirs-1.4.2-py2.py3-none-any.whl
              ! Downloading/unpacking packaging>=16.8 (from setuptools>=11.3->cryptography->python-mirobo)
              ! Downloading packaging-16.8-py2.py3-none-any.whl
              ! Downloading/unpacking pycparser (from cffi>=1.4.1->cryptography->python-mirobo)
              ! Downloading pycparser-2.17.tar.gz (231kB): 231kB downloaded
              ! Running setup.py (path:/tmp/pip-build-52nwxyku/pycparser/setup.py) egg_info for package pycparser
              ! warning: no previously-included files matching 'yacctab.' found under directory 'tests'
              ! warning: no previously-included files matching 'lextab.
              ' found under directory 'tests'
              ! warning: no previously-included files matching 'yacctab.' found under directory 'examples'
              ! warning: no previously-included files matching 'lextab.
              ' found under directory 'examples'
              ! Downloading/unpacking pyparsing (from packaging>=16.8->setuptools>=11.3->cryptography->python-mirobo)
              ! Downloading pyparsing-2.1.10-py2.py3-none-any.whl (56kB): 56kB downloaded
              ! Installing collected packages: python-mirobo, cryptography, idna, pyasn1, setuptools, cffi, appdirs, packaging, pycparser, pyparsing
              ! Running setup.py install for cryptography
              ! Installed /tmp/pip-build-52nwxyku/cryptography/cffi-1.9.1-py3.4-linux-armv7l.egg
              ! Searching for pycparser
              ! Reading https://pypi.python.org/simple/pycparser/
              ! Best match: pycparser 2.17
              ! Downloading https://pypi.python.org/packages/be/64/ … f6af5a40c7
              ! Processing pycparser-2.17.tar.gz
              ! Writing /tmp/easy_install-uxbzzer1/pycparser-2.17/setup.cfg
              ! Running pycparser-2.17/setup.py -q bdist_egg --dist-dir /tmp/easy_install-uxbzzer1/pycparser-2.17/egg-dist-tmp-05lk5pnb
              ! warning: no previously-included files matching 'yacctab.' found under directory 'tests'
              ! warning: no previously-included files matching 'lextab.
              ' found under directory 'tests'
              ! warning: no previously-included files matching 'yacctab.' found under directory 'examples'
              ! warning: no previously-included files matching 'lextab.
              ' found under directory 'examples'
              ! zip_safe flag not set; analyzing archive contents...
              ! pycparser.ply.pycache.yacc.cpython-34: module references file
              ! pycparser.ply.pycache.yacc.cpython-34: module MAY be using inspect.getsourcefile
              ! pycparser.ply.pycache.yacc.cpython-34: module MAY be using inspect.stack
              ! pycparser.ply.pycache.lex.cpython-34: module references file
              ! pycparser.ply.pycache.lex.cpython-34: module MAY be using inspect.getsourcefile
              ! pycparser.ply.pycache.ygen.cpython-34: module references file
              ! Installed /tmp/pip-build-52nwxyku/cryptography/pycparser-2.17-py3.4.egg
              ! no previously-included directories found matching 'docs/_build'
              ! warning: no previously-included files matching '' found under directory 'vectors'
              ! generating cffi module 'build/temp.linux-armv7l-3.4/_padding.c'
              ! generating cffi module 'build/temp.linux-armv7l-3.4/_constant_time.c'
              ! generating cffi module 'build/temp.linux-armv7l-3.4/_openssl.c'
              ! building '_openssl' extension
              ! arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c build/temp.linux-armv7l-3.4/_openssl.c -o build/temp.linux-armv7l-3.4/build/temp.linux-armv7l-3.4/_openssl.o
              ! build/temp.linux-armv7l-3.4/_openssl.c:434:30: fatal error: openssl/opensslv.h: Datei oder Verzeichnis nicht gefunden
              ! #include <openssl opensslv.h="">^
              ! compilation terminated.
              ! error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
              ! Complete output from command /usr/bin/python3 -c "import setuptools, tokenize;file='/tmp/pip-build-52nwxyku/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-extnf5u5-record/install-record.txt --single-version-externally-managed --compile:
              ! Installed /tmp/pip-build-52nwxyku/cryptography/cffi-1.9.1-py3.4-linux-armv7l.egg
              ! Searching for pycparser
              ! Reading https://pypi.python.org/simple/pycparser/
              ! Best match: pycparser 2.17
              ! Downloading https://pypi.python.org/packages/be/64/ ... f6af5a40c7
              ! Processing pycparser-2.17.tar.gz
              ! Writing /tmp/easy_install-uxbzzer1/pycparser-2.17/setup.cfg
              ! Running pycparser-2.17/setup.py -q bdist_egg --dist-dir /tmp/easy_install-uxbzzer1/pycparser-2.17/egg-dist-tmp-05lk5pnb
              ! warning: no previously-included files matching 'yacctab.
              ' found under directory 'tests'
              ! warning: no previously-included files matching 'lextab.' found under directory 'tests'
              ! warning: no previously-included files matching 'yacctab.
              ' found under directory 'examples'
              ! warning: no previously-included files matching 'lextab.' found under directory 'examples'
              ! zip_safe flag not set; analyzing archive contents...
              ! pycparser.ply.pycache.yacc.cpython-34: module references file
              ! pycparser.ply.pycache.yacc.cpython-34: module MAY be using inspect.getsourcefile
              ! pycparser.ply.pycache.yacc.cpython-34: module MAY be using inspect.stack
              ! pycparser.ply.pycache.lex.cpython-34: module references file
              ! pycparser.ply.pycache.lex.cpython-34: module MAY be using inspect.getsourcefile
              ! pycparser.ply.pycache.ygen.cpython-34: module references file
              ! Installed /tmp/pip-build-52nwxyku/cryptography/pycparser-2.17-py3.4.egg
              ! running install
              ! running build
              ! running build_py
              ! creating build
              ! creating build/lib.linux-armv7l-3.4
              ! creating build/lib.linux-armv7l-3.4/cryptography
              ! copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-3.4/cryptography
              ! copying src/cryptography/about.py -> build/lib.linux-armv7l-3.4/cryptography
              ! copying src/cryptography/fernet.py -> build/lib.linux-armv7l-3.4/cryptography
              ! copying src/cryptography/utils.py -> build/lib.linux-armv7l-3.4/cryptography
              ! copying src/cryptography/init.py -> build/lib.linux-armv7l-3.4/cryptography
              ! creating build/lib.linux-armv7l-3.4/cryptography/x509
              ! copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-3.4/cryptography/x509
              ! copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-3.4/cryptography/x509
              ! copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-3.4/cryptography/x509
              ! copying src/cryptography/x509/init.py -> build/lib.linux-armv7l-3.4/cryptography/x509
              ! copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-3.4/cryptography/x509
              ! copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-3.4/cryptography/x509
              ! creating build/lib.linux-armv7l-3.4/cryptography/hazmat
              ! copying src/cryptography/hazmat/init.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat
              ! creating build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives
              ! copying src/cryptography/hazmat/primitives/serialization.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives
              ! copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives
              ! copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives
              ! copying src/cryptography/hazmat/primitives/init.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives
              ! copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives
              ! copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives
              ! copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives
              ! copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives
              ! creating build/lib.linux-armv7l-3.4/cryptography/hazmat/bindings
              ! copying src/cryptography/hazmat/bindings/init.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/bindings
              ! creating build/lib.linux-armv7l-3.4/cryptography/hazmat/backends
              ! copying src/cryptography/hazmat/backends/multibackend.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends
              ! copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends
              ! copying src/cryptography/hazmat/backends/init.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends
              ! creating build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/ciphers
              ! copying src/cryptography/hazmat/primitives/ciphers/init.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/ciphers
              ! copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/ciphers
              ! copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/ciphers
              ! copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/ciphers
              ! creating build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/interfaces
              ! copying src/cryptography/hazmat/primitives/interfaces/init.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/interfaces
              ! creating build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/twofactor
              ! copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/twofactor
              ! copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/twofactor
              ! copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/twofactor
              ! copying src/cryptography/hazmat/primitives/twofactor/init.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/twofactor
              ! creating build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/asymmetric
              ! copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/asymmetric
              ! copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/asymmetric
              ! copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/asymmetric
              ! copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/asymmetric
              ! copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/asymmetric
              ! copying src/cryptography/hazmat/primitives/asymmetric/init.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/asymmetric
              ! copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/asymmetric
              ! creating build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/kdf
              ! copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/kdf
              ! copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/kdf
              ! copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/kdf
              ! copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/kdf
              ! copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/kdf
              ! copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/kdf
              ! copying src/cryptography/hazmat/primitives/kdf/init.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/primitives/kdf
              ! creating build/lib.linux-armv7l-3.4/cryptography/hazmat/bindings/commoncrypto
              ! copying src/cryptography/hazmat/bindings/commoncrypto/binding.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/bindings/commoncrypto
              ! copying src/cryptography/hazmat/bindings/commoncrypto/init.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/bindings/commoncrypto
              ! creating build/lib.linux-armv7l-3.4/cryptography/hazmat/bindings/openssl
              ! copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/bindings/openssl
              ! copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/bindings/openssl
              ! copying src/cryptography/hazmat/bindings/openssl/init.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/bindings/openssl
              ! creating build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/commoncrypto
              ! copying src/cryptography/hazmat/backends/commoncrypto/ciphers.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/commoncrypto
              ! copying src/cryptography/hazmat/backends/commoncrypto/init.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/commoncrypto
              ! copying src/cryptography/hazmat/backends/commoncrypto/backend.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/commoncrypto
              ! copying src/cryptography/hazmat/backends/commoncrypto/hashes.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/commoncrypto
              ! copying src/cryptography/hazmat/backends/commoncrypto/hmac.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/commoncrypto
              ! creating build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/openssl
              ! copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/openssl
              ! copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/openssl
              ! copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/openssl
              ! copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/openssl
              ! copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/openssl
              ! copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/openssl
              ! copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/openssl
              ! copying src/cryptography/hazmat/backends/openssl/init.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/openssl
              ! copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/openssl
              ! copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/openssl
              ! copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/openssl
              ! copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/openssl
              ! copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/openssl
              ! copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-3.4/cryptography/hazmat/backends/openssl
              ! running egg_info
              ! writing dependency_links to src/cryptography.egg-info/dependency_links.txt
              ! writing top-level names to src/cryptography.egg-info/top_level.txt
              ! writing src/cryptography.egg-info/PKG-INFO
              ! writing entry points to src/cryptography.egg-info/entry_points.txt
              ! writing requirements to src/cryptography.egg-info/requires.txt
              ! warning: manifest_maker: standard file '-c' not found
              ! reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
              ! reading manifest template 'MANIFEST.in'
              ! no previously-included directories found matching 'docs/_build'
              ! warning: no previously-included files matching '
              ' found under directory 'vectors'
              ! writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
              ! running build_ext
              ! generating cffi module 'build/temp.linux-armv7l-3.4/_padding.c'
              ! creating build/temp.linux-armv7l-3.4
              ! generating cffi module 'build/temp.linux-armv7l-3.4/_constant_time.c'
              ! generating cffi module 'build/temp.linux-armv7l-3.4/_openssl.c'
              ! building '_openssl' extension
              ! creating build/temp.linux-armv7l-3.4/build
              ! creating build/temp.linux-armv7l-3.4/build/temp.linux-armv7l-3.4
              ! arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c build/temp.linux-armv7l-3.4/_openssl.c -o build/temp.linux-armv7l-3.4/build/temp.linux-armv7l-3.4/_openssl.o
              ! build/temp.linux-armv7l-3.4/_openssl.c:434:30: fatal error: openssl/opensslv.h: Datei oder Verzeichnis nicht gefunden
              ! #include <openssl opensslv.h="">^
              ! compilation terminated.
              ! error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
              ! ----------------------------------------
              ! Cleaning up...
              ! Command /usr/bin/python3 -c "import setuptools, tokenize;file='/tmp/pip-build-52nwxyku/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-extnf5u5-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-52nwxyku/cryptography
              ! Storing debug log for failure in /root/.pip/pip.log</openssl></openssl>

              1 Antwort Letzte Antwort
              0
              • T Offline
                T Offline
                tpr
                schrieb am zuletzt editiert von
                #219

                @skorpil:

                ! build/temp.linux-armv7l-3.4/_openssl.c:434:30: fatal error: openssl/opensslv.h: Datei oder Verzeichnis nicht gefunden
                ! #include <openssl opensslv.h="">^
                ! compilation terminated.</openssl> `
                Jetzt fehlt noch libssl-dev.

                1 Antwort Letzte Antwort
                0
                • S Offline
                  S Offline
                  skorpil
                  schrieb am zuletzt editiert von
                  #220

                  Steht ja in github. Ich bin zu doof zum Lesen. Dennoch habe ich jetzt wieder eine Fehlermeldung:

                  ! root@raspberrypi:~# apt-get install libssl-dev
                  ! Paketlisten werden gelesen… Fertig
                  ! Abhängigkeitsbaum wird aufgebaut.
                  ! Statusinformationen werden eingelesen.... Fertig
                  ! Die folgenden zusätzlichen Pakete werden installiert:
                  ! libssl-doc
                  ! Die folgenden NEUEN Pakete werden installiert:
                  ! libssl-dev libssl-doc
                  ! 0 aktualisiert, 2 neu installiert, 0 zu entfernen und 3 nicht aktualisiert.
                  ! Es müssen 2.263 kB an Archiven heruntergeladen werden.
                  ! Nach dieser Operation werden 6.480 kB Plattenplatz zusätzlich benutzt.
                  ! Möchten Sie fortfahren? [J/n] j
                  ! Holen: 1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libssl-dev armhf 1.0.1t-1+deb8u6 [1.095 kB]
                  ! Holen: 2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libssl-doc all 1.0.1t-1+deb8u6 [1.168 kB]
                  ! Es wurden 2.263 kB in 2 s geholt (1.081 kB/s).
                  ! Vormals nicht ausgewähltes Paket libssl-dev:armhf wird gewählt.
                  ! (Lese Datenbank … 118246 Dateien und Verzeichnisse sind derzeit installiert.)
                  ! Vorbereitung zum Entpacken von .../libssl-dev_1.0.1t-1+deb8u6_armhf.deb ...
                  ! Entpacken von libssl-dev:armhf (1.0.1t-1+deb8u6) ...
                  ! Vormals nicht ausgewähltes Paket libssl-doc wird gewählt.
                  ! Vorbereitung zum Entpacken von .../libssl-doc_1.0.1t-1+deb8u6_all.deb ...
                  ! Entpacken von libssl-doc (1.0.1t-1+deb8u6) ...
                  ! Trigger für man-db (2.7.0.2-5) werden verarbeitet ...
                  ! libssl-dev:armhf (1.0.1t-1+deb8u6) wird eingerichtet ...
                  ! libssl-doc (1.0.1t-1+deb8u6) wird eingerichtet ...
                  ! root@raspberrypi:~# pip3 install python-mirobo
                  ! Downloading/unpacking python-mirobo
                  ! Downloading python_mirobo-0.0.3-py3-none-any.whl
                  ! Requirement already satisfied (use --upgrade to upgrade): construct in /usr/local/lib/python3.4/dist-packages (from python-mirobo)
                  ! Downloading/unpacking cryptography (from python-mirobo)
                  ! Downloading cryptography-1.7.2.tar.gz (420kB): 420kB downloaded
                  ! Running setup.py (path:/tmp/pip-build-0ccwl8vj/cryptography/setup.py) egg_info for package cryptography
                  ! no previously-included directories found matching 'docs/_build'
                  ! warning: no previously-included files matching '' found under directory 'vectors'
                  ! Requirement already satisfied (use --upgrade to upgrade): pretty-cron in /usr/local/lib/python3.4/dist-packages (from python-mirobo)
                  ! Requirement already satisfied (use --upgrade to upgrade): click in /usr/local/lib/python3.4/dist-packages (from python-mirobo)
                  ! Downloading/unpacking idna>=2.0 (from cryptography->python-mirobo)
                  ! Downloading idna-2.4-py2.py3-none-any.whl (55kB): 55kB downloaded
                  ! Downloading/unpacking pyasn1>=0.1.8 (from cryptography->python-mirobo)
                  ! Downloading pyasn1-0.2.3-py2.py3-none-any.whl (53kB): 53kB downloadedRequirement already satisfied (use --upgrade to upgrade): six>=1.4.1 in /usr/lib/python3/dist-packages (from cryptography->python-mirobo)
                  ! Downloading/unpacking setuptools>=11.3 (from cryptography->python-mirobo)
                  ! Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 1% 4.1 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 2% 8.2 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 3% 12k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 4% 16k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 5% 20k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 6% 24k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 7% 28k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 8% 32k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 9% 36k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 10% 40k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 11% 45k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 12% 49k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 13% 53k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 14% 57k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 15% 61k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 16% 65k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 17% 69k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 18% 73k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 19% 77k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 21% 81k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 22% 86k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 23% 90k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 24% 94k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 25% 98k Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 26% 102 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 27% 106 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 28% 110 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 29% 114 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 30% 118 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 31% 122 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 32% 126 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 33% 131 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 34% 135 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 35% 139 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 36% 143 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 37% 147 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 38% 151 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 39% 155 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 41% 159 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 42% 163 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 43% 167 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 44% 172 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 45% 176 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 46% 180 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 47% 184 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 48% 188 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 49% 192 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 50% 196 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 51% 200 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 52% 204 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 53% 208 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 54% 212 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 55% 217 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 56% 221 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 57% 225 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 58% 229 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 59% 233 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 61% 237 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 62% 241 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 63% 245 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 64% 249 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 65% 253 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 66% 258 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 67% 262 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 68% 266 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 69% 270 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 70% 274 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 71% 278 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 72% 282 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 73% 286 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 74% 290 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 75% 294 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 76% 299 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 77% 303 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 78% 307 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 79% 311 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 80% 315 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 82% 319 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 83% 323 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 84% 327 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 85% 331 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 86% 335 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 87% 339 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 88% 344 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 89% 348 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 90% 352 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 91% 356 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 92% 360 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 93% 364 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 94% 368 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 95% 372 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 96% 376 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 97% 380 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 98% 385 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 99% 389 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 100% 389 Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB): 389kB downloaded
                  ! Downloading/unpacking cffi>=1.4.1 (from cryptography->python-mirobo)
                  ! Downloading cffi-1.9.1.tar.gz (407kB): 407kB downloaded
                  ! Running setup.py (path:/tmp/pip-build-0ccwl8vj/cffi/setup.py) egg_info for package cffi
                  ! Downloading/unpacking appdirs>=1.4.0 (from setuptools>=11.3->cryptography->python-mirobo)
                  ! Downloading appdirs-1.4.2-py2.py3-none-any.whl
                  ! Downloading/unpacking packaging>=16.8 (from setuptools>=11.3->cryptography->python-mirobo)
                  ! Downloading packaging-16.8-py2.py3-none-any.whl
                  ! Downloading/unpacking pycparser (from cffi>=1.4.1->cryptography->python-mirobo)
                  ! Downloading pycparser-2.17.tar.gz (231kB): 231kB downloaded
                  ! Running setup.py (path:/tmp/pip-build-0ccwl8vj/pycparser/setup.py) egg_info for package pycparser
                  ! warning: no previously-included files matching 'yacctab.
                  ' found under directory 'tests'
                  ! warning: no previously-included files matching 'lextab.' found under directory 'tests'
                  ! warning: no previously-included files matching 'yacctab.
                  ' found under directory 'examples'
                  ! warning: no previously-included files matching 'lextab.' found under directory 'examples'
                  ! Downloading/unpacking pyparsing (from packaging>=16.8->setuptools>=11.3->cryptography->python-mirobo)
                  ! Downloading pyparsing-2.1.10-py2.py3-none-any.whl (56kB): 56kB downloaded
                  ! Installing collected packages: python-mirobo, cryptography, idna, pyasn1, setuptools, cffi, appdirs, packaging, pycparser, pyparsing
                  ! Running setup.py install for cryptography
                  ! Installed /tmp/pip-build-0ccwl8vj/cryptography/cffi-1.9.1-py3.4-linux-armv7l.egg
                  ! Searching for pycparser
                  ! Reading https://pypi.python.org/simple/pycparser/
                  ! Best match: pycparser 2.17
                  ! Downloading https://pypi.python.org/packages/be/64/ ... f6af5a40c7
                  ! Processing pycparser-2.17.tar.gz
                  ! Writing /tmp/easy_install-p_x9avyu/pycparser-2.17/setup.cfg
                  ! Running pycparser-2.17/setup.py -q bdist_egg --dist-dir /tmp/easy_install-p_x9avyu/pycparser-2.17/egg-dist-tmp-ketmxj32
                  ! warning: no previously-included files matching 'yacctab.
                  ' found under directory 'tests'
                  ! warning: no previously-included files matching 'lextab.' found under directory 'tests'
                  ! warning: no previously-included files matching 'yacctab.
                  ' found under directory 'examples'
                  ! warning: no previously-included files matching 'lextab.' found under directory 'examples'
                  ! zip_safe flag not set; analyzing archive contents...
                  ! pycparser.ply.pycache.yacc.cpython-34: module references file
                  ! pycparser.ply.pycache.yacc.cpython-34: module MAY be using inspect.getsourcefile
                  ! pycparser.ply.pycache.yacc.cpython-34: module MAY be using inspect.stack
                  ! pycparser.ply.pycache.lex.cpython-34: module references file
                  ! pycparser.ply.pycache.lex.cpython-34: module MAY be using inspect.getsourcefile
                  ! pycparser.ply.pycache.ygen.cpython-34: module references file
                  ! Installed /tmp/pip-build-0ccwl8vj/cryptography/pycparser-2.17-py3.4.egg
                  ! no previously-included directories found matching 'docs/_build'
                  ! warning: no previously-included files matching '
                  ' found under directory 'vectors'
                  ! generating cffi module 'build/temp.linux-armv7l-3.4/_padding.c'
                  ! generating cffi module 'build/temp.linux-armv7l-3.4/_constant_time.c'
                  ! generating cffi module 'build/temp.linux-armv7l-3.4/_openssl.c'
                  ! building '_openssl' extension
                  ! arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c build/temp.linux-armv7l-3.4/_openssl.c -o build/temp.linux-armv7l-3.4/build/temp.linux-armv7l-3.4/_openssl.o
                  ! arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/build/temp.linux-armv7l-3.4/_openssl.o -lssl -lcrypto -o build/lib.linux-armv7l-3.4/cryptography/hazmat/bindings/_openssl.cpython-34m.so
                  ! building '_constant_time' extension
                  ! arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c build/temp.linux-armv7l-3.4/_constant_time.c -o build/temp.linux-armv7l-3.4/build/temp.linux-armv7l-3.4/_constant_time.o
                  ! arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/build/temp.linux-armv7l-3.4/_constant_time.o -o build/lib.linux-armv7l-3.4/cryptography/hazmat/bindings/_constant_time.cpython-34m.so
                  ! building '_padding' extension
                  ! arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c build/temp.linux-armv7l-3.4/_padding.c -o build/temp.linux-armv7l-3.4/build/temp.linux-armv7l-3.4/_padding.o
                  ! arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/build/temp.linux-armv7l-3.4/_padding.o -o build/lib.linux-armv7l-3.4/cryptography/hazmat/bindings/_padding.cpython-34m.so
                  ! Found existing installation: setuptools 5.5.1
                  ! Not uninstalling setuptools at /usr/lib/python3/dist-packages, owned by OS
                  ! Running setup.py install for cffi
                  ! Traceback (most recent call last):
                  ! File "<string>", line 1, in <module>File "/usr/local/lib/python3.4/dist-packages/setuptools/init.py", line 12, in <module>import setuptools.version
                  ! File "/usr/local/lib/python3.4/dist-packages/setuptools/version.py", line 1, in <module>import pkg_resources
                  ! File "/usr/local/lib/python3.4/dist-packages/pkg_resources/init.py", line 70, in <module>import packaging.version
                  ! ImportError: No module named 'packaging'
                  ! Complete output from command /usr/bin/python3 -c "import setuptools, tokenize;file='/tmp/pip-build-0ccwl8vj/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-uoxfec1w-record/install-record.txt --single-version-externally-managed --compile:
                  ! Traceback (most recent call last):
                  ! File "<string>", line 1, in <module>File "/usr/local/lib/python3.4/dist-packages/setuptools/init.py", line 12, in <module>import setuptools.version
                  ! File "/usr/local/lib/python3.4/dist-packages/setuptools/version.py", line 1, in <module>import pkg_resources
                  ! File "/usr/local/lib/python3.4/dist-packages/pkg_resources/init.py", line 70, in <module>import packaging.version
                  ! ImportError: No module named 'packaging'
                  ! ----------------------------------------
                  ! Cleaning up...
                  ! Command /usr/bin/python3 -c "import setuptools, tokenize;file='/tmp/pip-build-0ccwl8vj/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-uoxfec1w-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-0ccwl8vj/cffi
                  ! Storing debug log for failure in /r</module></module></module></module></string></module></module></module></module></string>

                  1 Antwort Letzte Antwort
                  0
                  • T Offline
                    T Offline
                    tpr
                    schrieb am zuletzt editiert von
                    #221

                    @skorpil:

                    Steht ja in github. Ich bin zu doof zum Lesen. `
                    Bist du nicht, ich habe es nur schnell aktualisiert ;)

                    > ImportError: No module named 'packaging'
                    Dies ist komplizierter, anscheinbar ist mein eigenes System irgendwie anders eingerichtet, sodass es funktioniert. Ich könnte dieses Problem auch jetzt bei mir wiedergeben, eine Lösung habe ich noch nicht gefunden. :(

                    1 Antwort Letzte Antwort
                    0
                    • T Offline
                      T Offline
                      tpr
                      schrieb am zuletzt editiert von
                      #222

                      > ImportError: No module named 'packaging'
                      Das Problem habe ich gefunden, es geht um zu alten Versionen von pip & setuptools, ich habe die README.md aktualisiert.

                      $ virtualenv -p python3 miroboenv
                      ..
                      $ source miroboenv/bin/activate
                      ..
                      $ pip3 install -U pip setuptools
                      ..
                      $ pip install python-mirobo
                      ..
                      $ mirobo
                      State: Charging
                      Battery: 100
                      Fanspeed: 30
                      Cleaning since: 0:00:00
                      Cleaned area: 1.6925 m²
                      
                      

                      Danke für das Testen :)

                      1 Antwort Letzte Antwort
                      0
                      • S Offline
                        S Offline
                        skorpil
                        schrieb am zuletzt editiert von
                        #223

                        My pleasure! Aber testen kann ich erst morgen wieder. Ich werde berichten.

                        1 Antwort Letzte Antwort
                        0
                        • S Offline
                          S Offline
                          skorpil
                          schrieb am zuletzt editiert von
                          #224

                          Tpr,

                          So, weiter getestet wie versprochen. Ich bekomme noch immer Fehler.

                          1. starte ich````
                          pip3 install -U pip setuptools

                          
                          >! Traceback (most recent call last):
                          >! File "/usr/bin/pip3", line 5, in <module>from pkg_resources import load_entry_point
                          >! File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 70, in <module>import packaging.version
                          >! ImportError: No module named 'packaging'</module></module>
                          
                          2\. starte ich````
                          pip3 install python-mirobo
                          

                          kommt

                          ! root@raspberrypi:~# pip3 install python-mirobo
                          ! Traceback (most recent call last):
                          ! File "/usr/bin/pip3", line 5, in <module>from pkg_resources import load_entry_point
                          ! File "/usr/local/lib/python3.4/dist-packages/pkg_resources/init.py", line 70, in <module>import packaging.version
                          ! ImportError: No module named 'packaging'</module></module>

                          Irgendwo ist noch der Hund drin :) :D

                          1 Antwort Letzte Antwort
                          0
                          • T Offline
                            T Offline
                            tpr
                            schrieb am zuletzt editiert von
                            #225

                            Ohh, hmh. Nun, einzelne was ich nachdenken kann wäre das ganze pip manuell erneut installieren wie hier: https://raspberrypi.stackexchange.com/q … 2413#62413 (ohne paramiko zeile)

                            1 Antwort Letzte Antwort
                            0
                            • MeistertrM Offline
                              MeistertrM Offline
                              Meistertr
                              Developer
                              schrieb am zuletzt editiert von
                              #226

                              Hat schon jemand erfolg mit der Umsetzung in Javascript ?

                              1 Antwort Letzte Antwort
                              0
                              • G Offline
                                G Offline
                                gst666
                                schrieb am zuletzt editiert von
                                #227

                                Die eigentliche Routine habe ich bereits nach Javascript umgeschrieben und scheint zu funktionieren. Jetzt muss ich das Ganze in einen Adapter umschreiben. Da ich hiermit noch keinerlei Erfahrungen habe, wird das etwas dauern. Mal sehen, was das nächste Wochenende bringt.

                                1 Antwort Letzte Antwort
                                0
                                • M Offline
                                  M Offline
                                  mc-hollin
                                  schrieb am zuletzt editiert von
                                  #228

                                  Kannst du die Umsetzung in Javascript schon mal hier bereit stellen?

                                  :D

                                  1 Antwort Letzte Antwort
                                  0
                                  • bahnuhrB Online
                                    bahnuhrB Online
                                    bahnuhr
                                    Forum Testing Most Active
                                    schrieb am zuletzt editiert von
                                    #229

                                    @mc-hollin:

                                    Kannst du die Umsetzung in Javascript schon mal hier bereit stellen?

                                    :D `

                                    Ja, das wäre toll.

                                    Dann können wir ja schon einmal testen.

                                    mfg


                                    Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
                                    Danke.
                                    gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
                                    ScreenToGif :https://www.screentogif.com/downloads.html

                                    1 Antwort Letzte Antwort
                                    0
                                    • S Offline
                                      S Offline
                                      skorpil
                                      schrieb am zuletzt editiert von
                                      #230

                                      tpr,

                                      Es will nicht! Nachdem ich

                                      sudo pip install cryptography
                                      

                                      eingegeben habe, erhalte ich folgende Fehlermeldung:

                                      ! File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 70, in <module>import packaging.version
                                      ! ImportError: No module named packaging.version
                                      ! –--------------------------------------
                                      ! Cleaning up...
                                      ! Command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-otSuJz/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-2vd4e4-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-otSuJz/cffi
                                      ! Storing debug log for failure in /root/.pip/pip.log</module>

                                      Was tun? Hast Du eine Idee? Alle anderen Befehle aus

                                      https://raspberrypi.stackexchange.com/q … 2413#62413

                                      liefen anstandslos durch. Und dann bei cryptography war Schluss

                                      1 Antwort Letzte Antwort
                                      0
                                      • S Offline
                                        S Offline
                                        skorpil
                                        schrieb am zuletzt editiert von
                                        #231

                                        tpr.

                                        Ergänzung: nachdem sich cryptography nicht installieren ließ habe ich einfach mal die beiden weiteren Befehle

                                        ausgeführt. Danach lief die Installation von cryptography durch. Ich dachte schon, das sei es. Wenn ich dann aber mirobo ausführe, bekomme ich wieder die packaging Fehlermeldung

                                        ! root@raspberrypi:~# pip3 install python-mirobo
                                        ! Traceback (most recent call last):
                                        ! File "/usr/bin/pip3", line 5, in <module>from pkg_resources import load_entry_point
                                        ! File "/usr/local/lib/python3.4/dist-packages/pkg_resources/init.py", line 70, in <module>import packaging.version
                                        ! ImportError: No module named 'packaging'</module></module>

                                        Habe alles so gemacht, wie Du es im Github beschreibst. Außer: "Using virtualenv is recommended." Das habe ich nicht durchgeführt. Auch, weil ich nicht kapiere, was das ist. Könnte da der Hund begraben sein?

                                        1 Antwort Letzte Antwort
                                        0
                                        • T Offline
                                          T Offline
                                          tpr
                                          schrieb am zuletzt editiert von
                                          #232

                                          @skorpil:

                                          tpr.

                                          Ergänzung: nachdem sich cryptography nicht installieren ließ habe ich einfach mal die beiden weiteren Befehle

                                          ausgeführt. Danach lief die Installation von cryptography durch. Ich dachte schon, das sei es. Wenn ich dann aber mirobo ausführe, bekomme ich wieder die packaging Fehlermeldung

                                          ! root@raspberrypi:~# pip3 install python-mirobo
                                          ! Traceback (most recent call last):
                                          ! File "/usr/bin/pip3", line 5, in <module>from pkg_resources import load_entry_point
                                          ! File "/usr/local/lib/python3.4/dist-packages/pkg_resources/init.py", line 70, in <module>import packaging.version
                                          ! ImportError: No module named 'packaging'</module></module> `

                                          Hallo skorpil,

                                          leider ist der Grund für diese Fehlermeldung zu alte pip oder setuptools, deswegen weigert er da.

                                          virtualenv (virtual environment) ist ein tool, womit man ohne root/sudo neue Entwicklungsumgebungen einrichten kann. D.h. damit könntest Du die Python-Pakete in ein Verzeichnis installieren lassen, und wenn etwas schief ginge, dieses Verzeichnis wieder löschen und neustarten.

                                          Du könntest noch das ausprobieren, so geht die Einrichtung eines virtualenvs (alles von unten wird ohne root, d.h. mit deinem normalen Benutzer ausgeführt):

                                          virtualenv -p python3 <name des/ordners="">source <name des/ordners="">/bin/activate</name></name> 
                                          

                                          Dann wird alle Pakete in diesen eigenständigen Ordner wie üblich mit pip installiert (nach aktualisierung von pip & setuptools).

                                          pip install -U pip
                                          pip install -U setuptools
                                          pip install python-mirobo
                                          
                                          

                                          Hoffentlich das hilft, wenn nicht, ich habe wirklich keine andere Ideen gerade.

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          582

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe