Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Debian 12 Python Webdriver Problem

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Debian 12 Python Webdriver Problem

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

      Ich versuche auf Debian 12 den webdriver-manager zu installieren. Welchen Befehl oder wie kann ich den webdriver installieren?

      pip install webdriver-manager
      pip install webdriver_manager
      

      liefern :

      × This environment is externally managed
      ╰─> To install Python packages system-wide, try apt install
      python3-xyz, where xyz is the package you are trying to
      install.

      Selenium konnte ich über folgenden Befehl instalieren.

      sudo apt-get install python3-selenium
      

      Python 3.11.2
      pip 23.0.1 from /usr/lib/python3/dist-packages/pip (python 3.11)
      pip show selenium:
      Name: selenium
      Version: 4.8.3
      Summary: Python bindings for Selenium
      Home-page: https://github.com/SeleniumHQ/selenium/
      Author:
      Author-email:
      License: Apache 2.0
      Location: /usr/lib/python3/dist-packages
      Requires:
      Required-by:

      BananaJoe Thomas Braun 3 Replies Last reply Reply Quote 0
      • BananaJoe
        BananaJoe Most Active @Mathias Winkelmann last edited by BananaJoe

        was sagt denn

        apt search webdriver
        

        Eventuell ist das Paket dort wie vorgeschlagen dabei

        1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Mathias Winkelmann last edited by Thomas Braun

          @mathias-winkelmann

          Im Paket python3-selenium dürfte webdriver bereits gepackt sein:

          https://packages.debian.org/bookworm/all/python3-selenium/filelist

          Edit:
          Ich glaube, du sprichst eher davon:

          https://bonigarcia.dev/webdrivermanager/#setup

          Das ist aber Java.

          1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Mathias Winkelmann last edited by

            @mathias-winkelmann

            https://pypi.org/project/webdriver-manager/

            Das wird es wohl sein.

            This environment is externally managed

            Bedeutet, das da nicht so einfach (wie früher) python-Code reingeklatscht werden kann/darf/soll.
            Leg ein venv an:
            https://medium.com/@kiena/troubleshooting-externally-managed-environment-error-in-debian-12-pip3-installation-439d62e5a970

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Support us

            ioBroker
            Community Adapters
            Donate

            1.1k
            Online

            31.7k
            Users

            79.7k
            Topics

            1.3m
            Posts

            3
            4
            240
            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