# German translation of the Python documentation. # Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # # Translators: # Swen Bachmann, 2026 # msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-09-05 16:53+0200\n" "PO-Revision-Date: 2026-10-13 21:00+0200\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: German (https://github.com/python/python-docs-de)\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../../using/mac.rst:7 msgid "Using Python on macOS" msgstr "Python unter macOS verwenden" #: ../../using/mac.rst:12 msgid "" "This document aims to give an overview of macOS-specific behavior you should " "know about to get started with Python on Mac computers. Python on a Mac " "running macOS is very similar to Python on other Unix-derived platforms, but " "there are some differences in installation and some features." msgstr "" "Dieses Dokument gibt einen Überblick über das macOS-spezifische Verhalten, " "das du kennen solltest, um mit Python auf Mac-Rechnern anzufangen. Python " "auf einem Mac unter macOS ist dem Python auf anderen unixartigen Plattformen " "sehr ähnlich, bei der Installation und bei einigen Funktionen gibt es aber " "Unterschiede." #: ../../using/mac.rst:17 msgid "" "There are various ways to obtain and install Python for macOS. Pre-built " "versions of the most recent versions of Python are available from a number " "of distributors. Much of this document describes use of the Pythons provided " "by the CPython release team for download from the `python.org website " "`_. See :ref:`alternative_bundles` for " "some other options." msgstr "" "Es gibt verschiedene Wege, Python für macOS zu beziehen und zu installieren. " "Vorgefertigte Fassungen der neuesten Python-Versionen bieten mehrere " "Distributoren an. Dieses Dokument beschreibt überwiegend die Verwendung der " "Pythons, die das CPython-Veröffentlichungsteam auf der `Webseite python.org " "`_ zum Herunterladen bereitstellt. Einige " "andere Möglichkeiten stehen unter :ref:`alternative_bundles`." #: ../../using/mac.rst:28 msgid "Using Python for macOS from ``python.org``" msgstr "Python für macOS von ``python.org`` verwenden" #: ../../using/mac.rst:31 msgid "Installation steps" msgstr "Installationsschritte" #: ../../using/mac.rst:33 msgid "" "For `current Python versions `_ (other " "than those in ``security`` status), the release team produces a **Python for " "macOS** installer package for each new release. A list of available " "installers is available `here `_. " "We recommend using the most recent supported Python version where possible. " "Current installers provide a `universal2 binary `_ build of Python which runs natively on all Macs " "(Apple Silicon and Intel) that are supported by a wide range of macOS " "versions, currently typically from at least **macOS 10.15 Catalina** on." msgstr "" "Für `aktuelle Python-Versionen `_ – mit " "Ausnahme derer im Status ``security`` – erstellt das Release-Team zu jeder " "neuen Veröffentlichung ein Installationspaket **Python for macOS**. Eine " "Liste der verfügbaren Installationsprogramme findest du `hier " "`_. Wir empfehlen, wenn möglich die " "neueste unterstützte Python-Version zu verwenden. Die aktuellen " "Installationsprogramme enthalten einen Python-Build als `universal2-Binary " "`_, der auf allen Macs " "(Apple Silicon und Intel) nativ läuft und von einer großen Spanne an " "macOS-Versionen unterstützt wird, derzeit typischerweise ab mindestens " "**macOS 10.15 Catalina**." #: ../../using/mac.rst:45 msgid "" "The downloaded file is a standard macOS installer package file (``.pkg``). " "File integrity information (checksum, size, sigstore signature, etc) for " "each file is included on the release download page. Installer packages and " "their contents are signed and notarized with ``Python Software Foundation`` " "Apple Developer ID certificates to meet `macOS Gatekeeper requirements " "`_." msgstr "" "Die herunterladbare Datei ist ein gewöhnliches macOS-Installationspaket " "(``.pkg``). Angaben zur Integrität jeder Datei – Prüfsumme, Größe, " "Sigstore-Signatur und weitere – stehen auf der Download-Seite der jeweiligen " "Veröffentlichung. Die Installationspakete und ihr Inhalt sind mit " "Apple-Developer-ID-Zertifikaten der ``Python Software Foundation`` signiert " "und notarisiert, um die `Anforderungen von macOS Gatekeeper " "`_ zu erfüllen." #: ../../using/mac.rst:51 msgid "" "For a default installation, double-click on the downloaded installer package " "file. This should launch the standard macOS Installer app and display the " "first of several installer windows steps." msgstr "" "Für eine Standardinstallation doppelklicke auf das heruntergeladene " "Installationspaket. Daraufhin sollte das macOS-Installationsprogramm starten " "und das erste von mehreren Fenstern des Installationsablaufs anzeigen." #: ../../using/mac.rst:57 msgid "" "Clicking on the **Continue** button brings up the **Read Me** for this " "installer. Besides other important information, the **Read Me** documents " "which Python version is going to be installed and on what versions of macOS " "it is supported. You may need to scroll through to read the whole file. By " "default, this **Read Me** will also be installed in |" "applications_python_version_literal| and available to read anytime." msgstr "" "Ein Klick auf **Fortfahren** bringt die Datei **Bitte lesen** dieses " "Installationsprogramms zum Vorschein. Neben anderen wichtigen Hinweisen " "dokumentiert **Bitte lesen**, welche Python-Version installiert wird und auf " "welchen macOS-Versionen sie unterstützt ist. Möglicherweise musst du " "blättern, um die ganze Datei zu lesen. Standardmäßig wird dieses **Bitte " "lesen** auch in |applications_python_version_literal| installiert und ist " "jederzeit nachzulesen." #: ../../using/mac.rst:65 msgid "" "Clicking on **Continue** proceeds to display the license for Python and for " "other included software. You will then need to **Agree** to the license " "terms before proceeding to the next step. This license file will also be " "installed and available to be read later." msgstr "" "Ein Klick auf **Fortfahren** zeigt als Nächstes die Lizenz für Python und " "für weitere mitgelieferte Software an. Du musst den Lizenzbedingungen dann " "mit **Akzeptieren** zustimmen, bevor es zum nächsten Schritt weitergeht. " "Auch diese Lizenzdatei wird installiert und lässt sich später nachlesen." #: ../../using/mac.rst:72 msgid "" "After the license terms are accepted, the next step is the **Installation " "Type** display. For most uses, the standard set of installation operations " "is appropriate." msgstr "" "Nachdem die Lizenzbedingungen angenommen sind, folgt die Anzeige " "**Installationstyp**. Für die meisten Zwecke ist der übliche Satz von " "Installationsschritten passend." #: ../../using/mac.rst:77 msgid "" "By pressing the **Customize** button, you can choose to omit or select " "certain package components of the installer. Click on each package name to " "see a description of what it installs. To also install support for the " "optional free-threaded feature, see :ref:`install-freethreaded-macos`." msgstr "" "Über die Schaltfläche **Anpassen** kannst du einzelne Paketbestandteile des " "Installationsprogramms auswählen oder weglassen. Klicke auf einen " "Paketnamen, um zu sehen, was er installiert. Wie du zusätzlich die " "Unterstützung für das optionale Free-Threading installierst, steht unter " ":ref:`install-freethreaded-macos`." #: ../../using/mac.rst:85 msgid "" "In either case, clicking **Install** will begin the install process by " "asking permission to install new software. A macOS user name with " "``Administrator`` privilege is needed as the installed Python will be " "available to all users of the Mac." msgstr "" "In beiden Fällen beginnt ein Klick auf **Installieren** den " "Installationsvorgang und fragt um Erlaubnis, neue Software zu installieren. " "Dazu ist ein macOS-Benutzername mit ``Administrator``-Recht nötig, denn das " "installierte Python steht allen Benutzern des Macs zur Verfügung." #: ../../using/mac.rst:89 msgid "When the installation is complete, the **Summary** window will appear." msgstr "" "Ist die Installation abgeschlossen, erscheint das Fenster " "**Zusammenfassung**." #: ../../using/mac.rst:93 msgid "" "Double-click on the :command:`Install Certificates.command` icon or file in " "the |applications_python_version_literal| window to complete the " "installation." msgstr "" "Doppelklicke auf das Symbol beziehungsweise die Datei :command:`Install " "Certificates.command` im Fenster |applications_python_version_literal|, um " "die Installation abzuschließen." #: ../../using/mac.rst:99 msgid "" "This will open a temporary :program:`Terminal` shell window that will use " "the new Python to download and install SSL root certificates for its use." msgstr "" "Damit öffnet sich ein vorübergehendes Fenster der Shell :program:`Terminal`, " "das mit dem neuen Python SSL-Wurzelzertifikate für dessen Verwendung " "herunterlädt und installiert." #: ../../using/mac.rst:105 msgid "" "If ``Successfully installed certifi`` and ``update complete`` appears in the " "terminal window, the installation is complete. Close this terminal window " "and the installer window." msgstr "" "Erscheinen im Terminalfenster ``Successfully installed certifi`` und " "``update complete``, ist die Installation abgeschlossen. Schließe dieses " "Terminalfenster und das Fenster des Installationsprogramms." #: ../../using/mac.rst:109 msgid "A default install will include:" msgstr "Eine Standardinstallation umfasst:" #: ../../using/mac.rst:111 msgid "" "A |python_version_literal| folder in your :file:`Applications` folder. In " "here you find :program:`IDLE`, the development environment that is a " "standard part of official Python distributions; and :program:`Python " "Launcher`, which handles double-clicking Python scripts from the macOS " "`Finder `_." msgstr "" "Einen Ordner |python_version_literal| in deinem Ordner :file:`Applications`. " "Darin findest du :program:`IDLE`, die Entwicklungsumgebung, die zum festen " "Bestand der offiziellen Python-Distributionen gehört, sowie :program:`Python " "Launcher`, der das Doppelklicken von Python-Skripten im `Finder `_ von macOS behandelt." #: ../../using/mac.rst:116 msgid "" "A framework :file:`/Library/Frameworks/Python.framework`, which includes the " "Python executable and libraries. The installer adds this location to your " "shell path. To uninstall Python, you can remove these three things. Symlinks " "to the Python executable are placed in :file:`/usr/local/bin/`." msgstr "" "Ein Framework :file:`/Library/Frameworks/Python.framework`, das die " "ausführbare Python-Datei und die Bibliotheken enthält. Das " "Installationsprogramm fügt diesen Ort deinem Shell-Pfad hinzu. Um Python zu " "deinstallieren, kannst du diese drei Dinge entfernen. Symbolische " "Verknüpfungen auf die ausführbare Python-Datei liegen in :file:`/usr/local/" "bin/`." #: ../../using/mac.rst:123 msgid "" "Recent versions of macOS include a :command:`python3` command in :file:`/usr/" "bin/python3` that links to a usually older and incomplete version of Python " "provided by and for use by the Apple development tools, :program:`Xcode` or " "the :program:`Command Line Tools for Xcode`. You should never modify or " "attempt to delete this installation, as it is Apple-controlled and is used " "by Apple-provided or third-party software. If you choose to install a newer " "Python version from ``python.org``, you will have two different but " "functional Python installations on your computer that can co-exist. The " "default installer options should ensure that its :command:`python3` will be " "used instead of the system :command:`python3`." msgstr "" "Neuere macOS-Versionen enthalten einen Befehl :command:`python3` in :file:`/" "usr/bin/python3`, der auf eine meist ältere und unvollständige Python-" "Version verweist, die von den Apple-Entwicklungswerkzeugen :program:`Xcode` " "beziehungsweise den :program:`Command Line Tools for Xcode` mitgebracht und " "für diese verwendet wird. Du solltest diese Installation niemals verändern " "oder zu löschen versuchen, denn sie wird von Apple verwaltet und von " "Software von Apple und von Dritten verwendet. Wenn du eine neuere Python-" "Version von ``python.org`` installierst, hast du zwei verschiedene, aber " "funktionierende Python-Installationen auf deinem Rechner, die nebeneinander " "bestehen können. Die Standardoptionen des Installationsprogramms sollten " "sicherstellen, dass dessen :command:`python3` anstelle des System-:command:" "`python3` verwendet wird." #: ../../using/mac.rst:134 msgid "How to run a Python script" msgstr "Wie man ein Python-Skript ausführt" #: ../../using/mac.rst:136 msgid "" "There are two ways to invoke the Python interpreter. If you are familiar " "with using a Unix shell in a terminal window, you can invoke |" "python_x_dot_y_literal| or ``python3`` optionally followed by one or more " "command line options (described in :ref:`using-on-general`). The Python " "tutorial also has a useful section on :ref:`using Python interactively from " "a shell `." msgstr "" "Es gibt zwei Wege, den Python-Interpreter aufzurufen. Wenn du mit einer Unix-" "Shell in einem Terminalfenster vertraut bist, kannst du |" "python_x_dot_y_literal| oder ``python3`` aufrufen, wahlweise gefolgt von " "einer oder mehreren Befehlszeilenoptionen (beschrieben unter :ref:`using-on-" "general`). Das Python-Tutorial hat außerdem einen nützlichen Abschnitt " "darüber, :ref:`Python interaktiv aus einer Shell zu verwenden `." #: ../../using/mac.rst:143 msgid "" "You can also invoke the interpreter through an integrated development " "environment. :ref:`idle` is a basic editor and interpreter environment which " "is included with the standard distribution of Python. :program:`IDLE` " "includes a Help menu that allows you to access Python documentation. If you " "are completely new to Python, you can read the tutorial introduction in that " "document." msgstr "" "Du kannst den Interpreter auch über eine integrierte Entwicklungsumgebung " "aufrufen. :ref:`idle` ist eine einfache Editor- und Interpreterumgebung, die " "zur Standarddistribution von Python gehört. :program:`IDLE` hat ein " "Hilfemenü, über das du die Python-Dokumentation erreichst. Wenn Python für " "dich völlig neu ist, kannst du dort die Einführung des Tutorials lesen." #: ../../using/mac.rst:151 msgid "" "There are many other editors and IDEs available, see :ref:`editors` for more " "information." msgstr "" "Es gibt viele weitere Editoren und Entwicklungsumgebungen, mehr dazu unter :" "ref:`editors`." #: ../../using/mac.rst:154 msgid "" "To run a Python script file from the terminal window, you can invoke the " "interpreter with the name of the script file:" msgstr "" "Um eine Python-Skriptdatei aus dem Terminalfenster auszuführen, kannst du " "den Interpreter mit dem Namen der Skriptdatei aufrufen:" #: ../../using/mac.rst:157 msgid "|python_x_dot_y_literal| ``myscript.py``" msgstr "|python_x_dot_y_literal| ``myscript.py``" #: ../../using/mac.rst:159 msgid "To run your script from the Finder, you can either:" msgstr "Um dein Skript aus dem Finder auszuführen, hast du zwei Möglichkeiten:" #: ../../using/mac.rst:161 msgid "Drag it to :program:`Python Launcher`." msgstr "Zieh es auf :program:`Python Launcher`." #: ../../using/mac.rst:163 msgid "" "Select :program:`Python Launcher` as the default application to open your " "script (or any ``.py`` script) through the Finder Info window and double-" "click it. :program:`Python Launcher` has various preferences to control how " "your script is launched. Option-dragging allows you to change these for one " "invocation, or use its ``Preferences`` menu to change things globally." msgstr "" "Wähle :program:`Python Launcher` über das Informationsfenster des Finders " "als Standardanwendung zum Öffnen deines Skripts (oder jedes ``.py``-Skripts) " "und doppelklicke darauf. :program:`Python Launcher` hat mehrere " "Einstellungen, mit denen sich steuern lässt, wie dein Skript gestartet wird. " "Mit gedrückter Wahltaste ziehen erlaubt dir, diese für einen einzelnen " "Aufruf zu ändern, oder du änderst sie über sein Menü ``Preferences`` " "grundsätzlich." #: ../../using/mac.rst:169 msgid "" "Be aware that running the script directly from the macOS Finder might " "produce different results than when running from a terminal window as the " "script will not be run in the usual shell environment including any setting " "of environment variables in shell profiles. And, as with any other script or " "program, be certain of what you are about to run." msgstr "" "Sei dir bewusst, dass ein Skript, das du direkt aus dem Finder von macOS " "startest, andere Ergebnisse liefern kann als aus einem Terminalfenster, denn " "es läuft dann nicht in der üblichen Shell-Umgebung, einschließlich aller " "Umgebungsvariablen aus den Shell-Profilen. Und wie bei jedem anderen Skript " "oder Programm: sei dir sicher, was du gerade ausführst." #: ../../using/mac.rst:179 msgid "Alternative Distributions" msgstr "Alternative Distributionen" #: ../../using/mac.rst:181 msgid "" "Besides the standard ``python.org`` for macOS installer, there are third-" "party distributions for macOS that may include additional functionality. " "Some popular distributions and their key features:" msgstr "" "Neben dem üblichen Installationsprogramm von ``python.org`` für macOS gibt " "es Distributionen von Dritten für macOS, die zusätzliche Funktionen " "enthalten können. Einige verbreitete Distributionen und ihre wichtigsten " "Eigenschaften:" #: ../../using/mac.rst:185 msgid "`ActivePython `_" msgstr "`ActivePython `_" #: ../../using/mac.rst:186 msgid "Installer with multi-platform compatibility, documentation" msgstr "" "Installationsprogramm mit plattformübergreifender Verträglichkeit, " "Dokumentation" #: ../../using/mac.rst:188 msgid "`Anaconda `_" msgstr "`Anaconda `_" #: ../../using/mac.rst:189 msgid "" "Popular scientific modules (such as numpy, scipy, and pandas) and the " "``conda`` package manager." msgstr "" "Verbreitete wissenschaftliche Module (etwa numpy, scipy und pandas) und der " "Paketmanager ``conda``." #: ../../using/mac.rst:192 msgid "`Homebrew `_" msgstr "`Homebrew `_" #: ../../using/mac.rst:193 msgid "" "Package manager for macOS including multiple versions of Python and many " "third-party Python-based packages (including numpy, scipy, and pandas)." msgstr "" "Paketmanager für macOS, der mehrere Python-Versionen und viele auf Python " "aufbauende Pakete von Dritten umfasst (darunter numpy, scipy und pandas)." #: ../../using/mac.rst:196 msgid "`MacPorts `_" msgstr "`MacPorts `_" #: ../../using/mac.rst:197 msgid "" "Another package manager for macOS including multiple versions of Python and " "many third-party Python-based packages. May include pre-built versions of " "Python and many packages for older versions of macOS." msgstr "" "Ein weiterer Paketmanager für macOS, der mehrere Python-Versionen und viele " "auf Python aufbauende Pakete von Dritten umfasst. Enthält möglicherweise " "vorgefertigte Python-Fassungen und viele Pakete für ältere macOS-Versionen." #: ../../using/mac.rst:201 msgid "" "Note that distributions might not include the latest versions of Python or " "other libraries, and are not maintained or supported by the core Python team." msgstr "" "Beachte, dass die Distributionen nicht die neuesten Versionen von Python " "oder anderen Bibliotheken enthalten müssen und nicht vom Kern-Team von " "Python gepflegt oder unterstützt werden." #: ../../using/mac.rst:207 msgid "Installing Additional Python Packages" msgstr "Weitere Python-Pakete installieren" #: ../../using/mac.rst:209 msgid "Refer to the `Python Packaging User Guide`_ for more information." msgstr "Mehr dazu im `Python Packaging User Guide`_." #: ../../using/mac.rst:219 msgid "GUI Programming" msgstr "GUI-Programmierung" #: ../../using/mac.rst:221 msgid "" "There are several options for building GUI applications on the Mac with " "Python." msgstr "" "Für das Bauen von GUI-Anwendungen auf dem Mac mit Python gibt es mehrere " "Möglichkeiten." #: ../../using/mac.rst:223 msgid "" "The standard Python GUI toolkit is :mod:`tkinter`, based on the cross-" "platform Tk toolkit (https://www.tcl.tk). A macOS-native version of Tk is " "included with the installer." msgstr "" "Das Standard-GUI-Toolkit von Python ist :mod:`tkinter`, das auf dem " "plattformübergreifenden Tk-Toolkit aufbaut (https://www.tcl.tk). Eine macOS-" "native Fassung von Tk liegt dem Installationsprogramm bei." #: ../../using/mac.rst:227 msgid "" "*PyObjC* is a Python binding to Apple's Objective-C/Cocoa framework. " "Information on PyObjC is available from :pypi:`pyobjc`." msgstr "" "*PyObjC* ist eine Python-Anbindung an Apples Objective-C/Cocoa-Framework. " "Angaben zu PyObjC stehen unter :pypi:`pyobjc`." #: ../../using/mac.rst:230 msgid "A number of alternative macOS GUI toolkits are available including:" msgstr "Es gibt mehrere alternative GUI-Toolkits für macOS, darunter:" #: ../../using/mac.rst:232 msgid "" "`PySide `_: Official Python bindings to the " "`Qt GUI toolkit `_." msgstr "" "`PySide `_: Offizielle Python-Anbindungen " "an das `Qt-GUI-Toolkit `_." #: ../../using/mac.rst:235 msgid "" "`PyQt `_: Alternative Python " "bindings to Qt." msgstr "" "`PyQt `_: Alternative Python-" "Anbindungen an Qt." #: ../../using/mac.rst:238 msgid "" "`Kivy `_: A cross-platform GUI toolkit that supports " "desktop and mobile platforms." msgstr "" "`Kivy `_: Ein plattformübergreifendes GUI-Toolkit, das " "Desktop- und Mobilplattformen unterstützt." #: ../../using/mac.rst:241 msgid "" "`Toga `_: Part of the `BeeWare Project `_; supports desktop, mobile, web and console apps." msgstr "" "`Toga `_: Teil des `BeeWare Project `_, unterstützt Desktop-, Mobil-, Web- und Konsolenanwendungen." #: ../../using/mac.rst:244 msgid "" "`wxPython `_: A cross-platform toolkit that supports " "desktop operating systems." msgstr "" "`wxPython `_: Ein plattformübergreifendes Toolkit, das " "Desktop-Betriebssysteme unterstützt." #: ../../using/mac.rst:249 msgid "Advanced Topics" msgstr "Fortgeschrittene Themen" #: ../../using/mac.rst:254 msgid "Installing Free-threaded Binaries" msgstr "Binärdateien mit Free-Threading installieren" #: ../../using/mac.rst:258 msgid "" "The ``python.org`` :ref:`Python for macOS ` installer package can optionally install an additional build of " "Python |version| that supports :pep:`703`, the free-threading feature " "(running with the :term:`global interpreter lock` disabled). Check the " "release page on ``python.org`` for possible updated information." msgstr "" "Das Installationspaket :ref:`Python for macOS " "` von ``python.org`` kann auf Wunsch einen " "zusätzlichen Build von Python |version| installieren, der :pep:`703` " "unterstützt – das Free-Threading, also den Betrieb mit abgeschaltetem " ":term:`Global Interpreter Lock `. Mögliche " "aktuellere Angaben findest du auf der Release-Seite auf ``python.org``." #: ../../using/mac.rst:264 msgid "" "The free-threaded mode is working and continues to be improved, but there is " "some additional overhead in single-threaded workloads compared to the " "regular build. Additionally, third-party packages, in particular ones with " "an :term:`extension module`, may not be ready for use in a free-threaded " "build, and will re-enable the :term:`GIL`. Therefore, the support for free-" "threading is not installed by default. It is packaged as a separate install " "option, available by clicking the **Customize** button on the **Installation " "Type** step of the installer as described above." msgstr "" "Der Free-Threading-Modus funktioniert und wird weiter verbessert, bringt " "gegenüber dem gewöhnlichen Build aber einen zusätzlichen Aufwand bei " "Arbeitslasten mit nur einem Thread mit sich. Außerdem sind Pakete von " "Dritten, insbesondere solche mit einem :term:`Erweiterungsmodul `, möglicherweise noch nicht für den Einsatz in einem " "Free-Threading-Build vorbereitet und schalten den :term:`GIL` wieder ein. " "Deshalb wird die Unterstützung für Free-Threading nicht standardmäßig " "installiert. Sie ist als eigene Installationsoption verpackt und über die " "Schaltfläche **Anpassen** im Schritt **Installationstyp** des " "Installationsprogramms erreichbar, wie oben beschrieben." #: ../../using/mac.rst:276 msgid "" "If the box next to the **Free-threaded Python** package name is checked, a " "separate :file:`PythonT.framework` will also be installed alongside the " "normal :file:`Python.framework` in :file:`/Library/Frameworks`. This " "configuration allows a free-threaded Python |version| build to co-exist on " "your system with a traditional (GIL only) Python |version| build with " "minimal risk while installing or testing. This installation layout may " "change in future releases." msgstr "" "Ist das Kästchen neben dem Paketnamen **Free-threaded Python** angehakt, " "wird neben dem gewöhnlichen :file:`Python.framework` zusätzlich ein eigenes " ":file:`PythonT.framework` in :file:`/Library/Frameworks` installiert. Durch " "diese Anordnung kann ein Free-Threading-Build von Python |version| mit " "geringem Risiko neben einem herkömmlichen Build von Python |version| – nur " "mit GIL – auf deinem System bestehen, während du installierst oder testest. " "Diese Installationsstruktur kann sich in künftigen Veröffentlichungen " "ändern." #: ../../using/mac.rst:284 msgid "Known cautions and limitations:" msgstr "Bekannte Einschränkungen und Vorsichtshinweise:" #: ../../using/mac.rst:286 msgid "" "The **UNIX command-line tools** package, which is selected by default, will " "install links in :file:`/usr/local/bin` for |python_x_dot_y_t_literal|, the " "free-threaded interpreter, and |python_x_dot_y_t_literal_config|, a " "configuration utility which may be useful for package builders. Since :file:" "`/usr/local/bin` is typically included in your shell ``PATH``, in most cases " "no changes to your ``PATH`` environment variables should be needed to use |" "python_x_dot_y_t_literal|." msgstr "" "Das standardmäßig ausgewählte Paket **UNIX command-line tools** legt in " ":file:`/usr/local/bin` Verknüpfungen für |python_x_dot_y_t_literal| an, den " "Free-Threading-Interpreter, sowie für |python_x_dot_y_t_literal_config|, ein " "Konfigurationswerkzeug, das für Paketbauer nützlich sein kann. Da " ":file:`/usr/local/bin` üblicherweise in deinem ``PATH`` der Shell enthalten " "ist, sind in den meisten Fällen keine Änderungen an deinen " "``PATH``-Umgebungsvariablen nötig, um |python_x_dot_y_t_literal| zu " "verwenden." #: ../../using/mac.rst:294 msgid "" "For this release, the **Shell profile updater** package and the :file:" "`Update Shell Profile.command` in |applications_python_version_literal| do " "not support the free-threaded package." msgstr "" "In dieser Veröffentlichung unterstützen das Paket **Shell profile updater** " "und die Datei :file:`Update Shell Profile.command` in |" "applications_python_version_literal| das Free-Threading-Paket nicht." #: ../../using/mac.rst:298 msgid "" "The free-threaded build and the traditional build have separate search paths " "and separate :file:`site-packages` directories so, by default, if you need a " "package available in both builds, it may need to be installed in both. The " "free-threaded package will install a separate instance of :program:`pip` for " "use with |python_x_dot_y_t_literal|." msgstr "" "Der Free-Threading-Build und der herkömmliche Build haben getrennte " "Suchpfade und getrennte Verzeichnisse :file:`site-packages`. Wenn du ein " "Paket also in beiden Builds brauchst, muss es standardmäßig möglicherweise " "in beiden installiert werden. Das Free-Threading-Paket installiert eine " "eigene Instanz von :program:`pip` für die Verwendung mit |" "python_x_dot_y_t_literal|." #: ../../using/mac.rst:304 msgid "To install a package using :command:`pip` without a :command:`venv`:" msgstr "Um ein Paket mit :command:`pip` ohne :command:`venv` zu installieren:" #: ../../using/mac.rst:308 msgid "python\\ |version|\\ t -m pip install " msgstr "python\\ |version|\\ t -m pip install " #: ../../using/mac.rst:310 msgid "" "When working with multiple Python environments, it is usually safest and " "easiest to :ref:`create and use virtual environments `. This can " "avoid possible command name conflicts and confusion about which Python is in " "use:" msgstr "" "Wenn du mit mehreren Python-Umgebungen arbeitest, ist es meist am sichersten " "und einfachsten, :ref:`virtuelle Umgebungen anzulegen und zu verwenden `. Das vermeidet mögliche Namenskonflikte bei Befehlen und Unklarheit " "darüber, welches Python gerade verwendet wird:" #: ../../using/mac.rst:316 msgid "python\\ |version|\\ t -m venv " msgstr "python\\ |version|\\ t -m venv " #: ../../using/mac.rst:319 msgid "then :command:`activate`." msgstr "dann :command:`activate`." #: ../../using/mac.rst:321 msgid "To run a free-threaded version of IDLE:" msgstr "Um eine Free-Threading-Fassung von IDLE auszuführen:" #: ../../using/mac.rst:325 msgid "python\\ |version|\\ t -m idlelib" msgstr "python\\ |version|\\ t -m idlelib" #: ../../using/mac.rst:328 msgid "" "The interpreters in both builds respond to the same :ref:`PYTHON environment " "variables ` which may have unexpected results, for " "example, if you have ``PYTHONPATH`` set in a shell profile. If necessary, " "there are :ref:`command line options ` like ``-" "E`` to ignore these environment variables." msgstr "" "Die Interpreter beider Builds reagieren auf dieselben :ref:`PYTHON-" "Umgebungsvariablen `, was zu unerwarteten Ergebnissen " "führen kann, etwa wenn du ``PYTHONPATH`` in einem Shell-Profil gesetzt hast. " "Bei Bedarf gibt es :ref:`Befehlszeilenoptionen ` " "wie ``-E``, um diese Umgebungsvariablen zu ignorieren." #: ../../using/mac.rst:335 msgid "" "The free-threaded build links to the third-party shared libraries, such as " "``OpenSSL`` and ``Tk``, installed in the traditional framework. This means " "that both builds also share one set of trust certificates as installed by " "the :command:`Install Certificates.command` script, thus it only needs to be " "run once." msgstr "" "Der Free-Threading-Build linkt gegen die gemeinsam genutzten Bibliotheken " "von Dritten, etwa ``OpenSSL`` und ``Tk``, die im herkömmlichen Framework " "installiert sind. Das heißt, beide Builds teilen auch einen Satz " "Vertrauenszertifikate, wie ihn das Skript :command:`Install Certificates." "command` installiert — es muss daher nur einmal ausgeführt werden." #: ../../using/mac.rst:341 msgid "" "If you cannot depend on the link in ``/usr/local/bin`` pointing to the " "``python.org`` free-threaded |python_x_dot_y_t_literal| (for example, if you " "want to install your own version there or some other distribution does), you " "can explicitly set your shell ``PATH`` environment variable to include the " "``PythonT`` framework ``bin`` directory:" msgstr "" "Wenn du dich nicht darauf verlassen kannst, dass die Verknüpfung in ``/usr/" "local/bin`` auf das Free-Threading-|python_x_dot_y_t_literal| von ``python." "org`` zeigt (etwa weil du dort deine eigene Fassung installieren möchtest " "oder eine andere Distribution das tut), kannst du deine Shell-" "Umgebungsvariable ``PATH`` ausdrücklich so setzen, dass sie das Verzeichnis " "``bin`` des ``PythonT``-Frameworks einschließt:" #: ../../using/mac.rst:349 msgid "" "export PATH=\"/Library/Frameworks/PythonT.framework/Versions/\\ |version|\\ /" "bin\":\"$PATH\"" msgstr "" "export PATH=\"/Library/Frameworks/PythonT.framework/Versions/\\ |version|\\ /" "bin\":\"$PATH\"" #: ../../using/mac.rst:351 msgid "" "The traditional framework installation by default does something similar, " "except for :file:`Python.framework`. Be aware that having both framework " "``bin`` directories in ``PATH`` can lead to confusion if there are duplicate " "names like |python_x_dot_y_literal| in both; which one is actually used " "depends on the order they appear in ``PATH``. The ``which python3.x`` or " "``which python3.xt`` commands can show which path is being used. Using " "virtual environments can help avoid such ambiguities. Another option might " "be to create a shell :command:`alias` to the desired interpreter, like:" msgstr "" "Die herkömmliche Framework-Installation macht standardmäßig etwas Ähnliches, " "nur mit :file:`Python.framework`. Bedenke, dass beide Framework-" "Verzeichnisse ``bin`` in ``PATH`` zu Verwirrung führen können, wenn es in " "beiden gleiche Namen wie |python_x_dot_y_literal| gibt — welcher dann " "tatsächlich verwendet wird, hängt von der Reihenfolge in ``PATH`` ab. Die " "Befehle ``which python3.x`` beziehungsweise ``which python3.xt`` zeigen, " "welcher Pfad verwendet wird. Virtuelle Umgebungen helfen, solche " "Unklarheiten zu vermeiden. Eine andere Möglichkeit wäre ein Shell-:command:" "`alias` auf den gewünschten Interpreter, etwa:" #: ../../using/mac.rst:362 msgid "" "alias py\\ |version|\\ =\"/Library/Frameworks/Python.framework/Versions/\\ |" "version|\\ /bin/python\\ |version|\\ \"\n" "alias py\\ |version|\\ t=\"/Library/Frameworks/PythonT.framework/Versions/\\ " "|version|\\ /bin/python\\ |version|\\ t\"" msgstr "" "alias py\\ |version|\\ =\"/Library/Frameworks/Python.framework/Versions/\\ |" "version|\\ /bin/python\\ |version|\\ \"\n" "alias py\\ |version|\\ t=\"/Library/Frameworks/PythonT.framework/Versions/\\ " "|version|\\ /bin/python\\ |version|\\ t\"" #: ../../using/mac.rst:366 msgid "Installing using the command line" msgstr "Über die Befehlszeile installieren" #: ../../using/mac.rst:368 msgid "" "If you want to use automation to install the ``python.org`` installer " "package (rather than by using the familiar macOS :program:`Installer` GUI " "app), the macOS command line :command:`installer` utility lets you select " "non-default options, too. If you are not familiar with :command:`installer`, " "it can be somewhat cryptic (see :command:`man installer` for more " "information). As an example, the following shell snippet shows one way to do " "it, using the |x_dot_y_b2_literal| release and selecting the free-threaded " "interpreter option:" msgstr "" "Wenn du das Installationspaket von ``python.org`` automatisiert installieren " "willst, anstatt die bekannte macOS-GUI-Anwendung :program:`Installer` zu " "verwenden, lässt auch das macOS-Befehlszeilenwerkzeug :command:`installer` " "die Auswahl abweichender Optionen zu. Wenn du :command:`installer` nicht " "kennst, kann es etwas kryptisch wirken (mehr dazu unter :command:`man " "installer`). Das folgende Shell-Schnipsel zeigt beispielhaft einen Weg, und " "zwar mit der Veröffentlichung |x_dot_y_b2_literal| und ausgewählter Option " "für den Free-Threading-Interpreter:" #: ../../using/mac.rst:379 msgid "" "RELEASE=\"python-\\ |version|\\ 0b2-macos11.pkg\"\n" "\n" "# download installer pkg\n" "curl -O \\https://www.python.org/ftp/python/\\ |version|\\ .0/${RELEASE}\n" "\n" "# create installer choicechanges to customize the install:\n" "# enable the PythonTFramework-\\ |version|\\ package\n" "# while accepting the other defaults (install all other packages)\n" "cat > ./choicechanges.plist <\n" "\n" "\n" "\n" " \n" " attributeSetting\n" " 1\n" " choiceAttribute\n" " selected\n" " choiceIdentifier\n" " org.python.Python.PythonTFramework-\\ |version|\\ \n" " \n" "\n" "\n" "EOF\n" "\n" "sudo installer -pkg ./${RELEASE} -applyChoiceChangesXML ./choicechanges." "plist -target /" msgstr "" "RELEASE=\"python-\\ |version|\\ 0b2-macos11.pkg\"\n" "\n" "# download installer pkg\n" "curl -O \\https://www.python.org/ftp/python/\\ |version|\\ .0/${RELEASE}\n" "\n" "# create installer choicechanges to customize the install:\n" "# enable the PythonTFramework-\\ |version|\\ package\n" "# while accepting the other defaults (install all other packages)\n" "cat > ./choicechanges.plist <\n" "\n" "\n" "\n" " \n" " attributeSetting\n" " 1\n" " choiceAttribute\n" " selected\n" " choiceIdentifier\n" " org.python.Python.PythonTFramework-\\ |version|\\ \n" " \n" "\n" "\n" "EOF\n" "\n" "sudo installer -pkg ./${RELEASE} -applyChoiceChangesXML ./choicechanges.plist -target /" #: ../../using/mac.rst:407 msgid "" "You can then test that both installer builds are now available with " "something like:" msgstr "" "Anschließend kannst du etwa so prüfen, ob jetzt beide Installations-Builds " "verfügbar sind:" #: ../../using/mac.rst:411 msgid "" "$ # test that the free-threaded interpreter was installed if the Unix " "Command Tools package was enabled\n" "$ /usr/local/bin/python\\ |version|\\ t -VV\n" "Python \\ |version|\\ .0b2 free-threading build (v\\ |version|" "\\ .0b2:3a83b172af, Jun 5 2024, 12:57:31) [Clang 15.0.0 " "(clang-1500.3.9.4)]\n" "$ # and the traditional interpreter\n" "$ /usr/local/bin/python\\ |version|\\ -VV\n" "Python \\ |version|\\ .0b2 (v\\ |version|\\ .0b2:3a83b172af, Jun 5 2024, " "12:50:24) [Clang 15.0.0 (clang-1500.3.9.4)]\n" "$ # test that they are also available without the prefix if /usr/local/bin " "is on $PATH\n" "$ python\\ |version|\\ t -VV\n" "Python \\ |version|\\ .0b2 free-threading build (v\\ |version|" "\\ .0b2:3a83b172af, Jun 5 2024, 12:57:31) [Clang 15.0.0 " "(clang-1500.3.9.4)]\n" "$ python\\ |version|\\ -VV\n" "Python \\ |version|\\ .0b2 (v\\ |version|\\ .0b2:3a83b172af, Jun 5 2024, " "12:50:24) [Clang 15.0.0 (clang-1500.3.9.4)]" msgstr "" "$ # test that the free-threaded interpreter was installed if the Unix " "Command Tools package was enabled\n" "$ /usr/local/bin/python\\ |version|\\ t -VV\n" "Python \\ |version|\\ .0b2 free-threading build (v\\ |version|" "\\ .0b2:3a83b172af, Jun 5 2024, 12:57:31) [Clang 15.0.0 " "(clang-1500.3.9.4)]\n" "$ # and the traditional interpreter\n" "$ /usr/local/bin/python\\ |version|\\ -VV\n" "Python \\ |version|\\ .0b2 (v\\ |version|\\ .0b2:3a83b172af, Jun 5 2024, " "12:50:24) [Clang 15.0.0 (clang-1500.3.9.4)]\n" "$ # test that they are also available without the prefix if /usr/local/bin " "is on $PATH\n" "$ python\\ |version|\\ t -VV\n" "Python \\ |version|\\ .0b2 free-threading build (v\\ |version|" "\\ .0b2:3a83b172af, Jun 5 2024, 12:57:31) [Clang 15.0.0 " "(clang-1500.3.9.4)]\n" "$ python\\ |version|\\ -VV\n" "Python \\ |version|\\ .0b2 (v\\ |version|\\ .0b2:3a83b172af, Jun 5 2024, " "12:50:24) [Clang 15.0.0 (clang-1500.3.9.4)]" #: ../../using/mac.rst:425 msgid "" "Current ``python.org`` installers only install to fixed locations like :file:" "`/Library/Frameworks/`, :file:`/Applications`, and :file:`/usr/local/bin`. " "You cannot use the :command:`installer` ``-domain`` option to install to " "other locations." msgstr "" "Die aktuellen Installationsprogramme von ``python.org`` installieren nur an " "feste Orte wie :file:`/Library/Frameworks/`, :file:`/Applications` und :file:" "`/usr/local/bin`. Die Option ``-domain`` von :command:`installer` lässt sich " "nicht verwenden, um an andere Orte zu installieren." #: ../../using/mac.rst:433 msgid "Distributing Python Applications" msgstr "Python-Anwendungen verteilen" #: ../../using/mac.rst:435 msgid "" "A range of tools exist for converting your Python code into a standalone " "distributable application:" msgstr "" "Es gibt eine Reihe von Werkzeugen, die deinen Python-Code in eine " "eigenständige, weitergebbare Anwendung verwandeln:" #: ../../using/mac.rst:438 msgid "" ":pypi:`py2app`: Supports creating macOS ``.app`` bundles from a Python " "project." msgstr "" ":pypi:`py2app`: Unterstützt das Erzeugen von macOS-``.app``-Bündeln aus " "einem Python-Projekt." #: ../../using/mac.rst:441 msgid "" "`Briefcase `_: Part of the `BeeWare " "Project `_; a cross-platform packaging tool that " "supports creation of ``.app`` bundles on macOS, as well as managing signing " "and notarization." msgstr "" "`Briefcase `_: Teil des `BeeWare Project " "`_, ein plattformübergreifendes Paketierwerkzeug, das " "das Erzeugen von ``.app``-Bündeln unter macOS unterstützt und auch Signieren " "und Notarisieren übernimmt." #: ../../using/mac.rst:446 msgid "" "`PyInstaller `_: A cross-platform packaging tool " "that creates a single file or folder as a distributable artifact." msgstr "" "`PyInstaller `_: Ein plattformübergreifendes " "Paketierwerkzeug, das eine einzelne Datei oder einen Ordner als " "weitergebbares Erzeugnis erstellt." #: ../../using/mac.rst:450 msgid "App Store Compliance" msgstr "Vorgaben des App Store erfüllen" #: ../../using/mac.rst:452 msgid "" "Apps submitted for distribution through the macOS App Store must pass " "Apple's app review process. This process includes a set of automated " "validation rules that inspect the submitted application bundle for " "problematic code." msgstr "" "Anwendungen, die zur Weitergabe über den macOS App Store eingereicht werden, " "müssen Apples App-Prüfverfahren durchlaufen. Dieses Verfahren umfasst eine " "Reihe automatischer Prüfregeln, die das eingereichte Anwendungsbündel auf " "bedenklichen Code untersuchen." #: ../../using/mac.rst:456 msgid "" "The Python standard library contains some code that is known to violate " "these automated rules. While these violations appear to be false positives, " "Apple's review rules cannot be challenged. Therefore, it is necessary to " "modify the Python standard library for an app to pass App Store review." msgstr "" "Die Python-Standardbibliothek enthält Code, von dem bekannt ist, dass er " "gegen diese automatischen Regeln verstößt. Diese Verstöße scheinen zwar " "Fehlalarme zu sein, Apples Prüfregeln lassen sich aber nicht anfechten. " "Deshalb ist es nötig, die Python-Standardbibliothek zu verändern, damit eine " "Anwendung die Prüfung des App Store besteht." #: ../../using/mac.rst:461 msgid "" "The Python source tree contains :source:`a patch file ` that will remove all code that is known to cause " "issues with the App Store review process. This patch is applied " "automatically when CPython is configured with the :option:`--with-app-store-" "compliance` option." msgstr "" "Der Python-Quellbaum enthält :source:`eine Patch-Datei `, die allen Code entfernt, von dem bekannt ist, dass " "er im Prüfverfahren des App Store Schwierigkeiten macht. Dieser Patch wird " "automatisch angewandt, wenn CPython mit der Option :option:`--with-app-store-" "compliance` konfiguriert wird." #: ../../using/mac.rst:467 msgid "" "This patch is not normally required to use CPython on a Mac; nor is it " "required if you are distributing an app *outside* the macOS App Store. It is " "*only* required if you are using the macOS App Store as a distribution " "channel." msgstr "" "Dieser Patch ist für die Verwendung von CPython auf einem Mac normalerweise " "nicht erforderlich, und er ist auch nicht erforderlich, wenn du eine " "Anwendung *außerhalb* des macOS App Store weitergibst. Er ist *nur* dann " "erforderlich, wenn du den macOS App Store als Vertriebsweg nutzt." #: ../../using/mac.rst:472 msgid "Other Resources" msgstr "Weitere Quellen" #: ../../using/mac.rst:474 msgid "" "The `python.org Help page `_ has links " "to many useful resources. The `Pythonmac-SIG mailing list `_ is another support " "resource specifically for Python users and developers on the Mac." msgstr "" "Die `Hilfeseite von python.org `_ " "verweist auf viele nützliche Quellen. Die `Mailingliste Pythonmac-SIG " "`_ ist eine " "weitere Unterstützungsquelle speziell für Python-Anwender und -Entwickler " "auf dem Mac."