Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Frage] Xiaomi Vacuum cleaner

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    [Frage] Xiaomi Vacuum cleaner

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      skorpil last edited by

      Bei mir hat die Installation von Python-mirobo auf einem Raspi 3 NICHT geklappt. Hier der Fehlerbericht.

      622_img_2632.jpg

      Liebe Grüße

      Bernd

      1 Reply Last reply Reply Quote 0
      • T
        tpr last edited by

        @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 Reply Last reply Reply Quote 0
        • S
          skorpil last edited by

          Ahhhh, ich dachte Python 2. alles klar!

          1 Reply Last reply Reply Quote 0
          • T
            tpr last edited by

            @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 Reply Last reply Reply Quote 0
            • S
              skorpil last edited by

              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 Reply Last reply Reply Quote 0
              • T
                tpr last edited by

                @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 Reply Last reply Reply Quote 0
                • S
                  skorpil last edited by

                  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 Reply Last reply Reply Quote 0
                  • T
                    tpr last edited by

                    @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 Reply Last reply Reply Quote 0
                    • S
                      skorpil last edited by

                      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 Reply Last reply Reply Quote 0
                      • T
                        tpr last edited by

                        @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 Reply Last reply Reply Quote 0
                        • T
                          tpr last edited by

                          > 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 Reply Last reply Reply Quote 0
                          • S
                            skorpil last edited by

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

                            1 Reply Last reply Reply Quote 0
                            • S
                              skorpil last edited by

                              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 🙂 😄

                              1 Reply Last reply Reply Quote 0
                              • T
                                tpr last edited by

                                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 Reply Last reply Reply Quote 0
                                • Meistertr
                                  Meistertr Developer last edited by

                                  Hat schon jemand erfolg mit der Umsetzung in Javascript ?

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    gst666 last edited by

                                    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 Reply Last reply Reply Quote 0
                                    • M
                                      mc-hollin last edited by

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

                                      😄

                                      1 Reply Last reply Reply Quote 0
                                      • bahnuhr
                                        bahnuhr Forum Testing Most Active last edited by

                                        @mc-hollin:

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

                                        😄 `

                                        Ja, das wäre toll.

                                        Dann können wir ja schon einmal testen.

                                        mfg

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          skorpil last edited by

                                          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 Reply Last reply Reply Quote 0
                                          • S
                                            skorpil last edited by

                                            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 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            393
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            204
                                            2196
                                            893585
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo