This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
Erstellen einer Python3-virtuellen Umgebung
Wenn Sie mit dem Netzwerk verbunden sind, kann die Ausführung des Befehls sudo /opt/Citrix/VDA/bin/xdping eine Python3-virtuelle Umgebung erstellen. Wenn die Befehle jedoch keine Python3-virtuelle Umgebung erstellen können, können Sie diese auch ohne Netzwerkverbindung manuell erstellen. Dieser Artikel beschreibt die Voraussetzungen und Schritte zum Erstellen einer Python3-virtuellen Umgebung ohne Netzwerkverbindung.
-
Voraussetzungen
- Sie müssen über Administratorrechte verfügen, um auf das Verzeichnis
/opt/Citrix/VDA/sbin/ctxpython3zugreifen zu können. - Die Wheel-Dateien der
Python3-Pakete sind vorhanden. Sie können die Wheel-Dateien von https://pypi.org/ herunterladen.
Erstellen einer Python3-virtuellen Umgebung
Führen Sie die folgenden Schritte aus, um eine Python3-virtuelle Umgebung zu erstellen:
-
Installieren Sie Python3-Abhängigkeiten.
Für RHEL und Rocky Linux:
yum -y install python3-devel krb5-devel gcc <!--NeedCopy-->Hinweis:
Möglicherweise müssen Sie ein bestimmtes Repository aktivieren, um einige Abhängigkeiten zu installieren. Führen Sie für RHEL 7 den Befehl
subscription-manager repos --enable rhel-7-server-optional-rpmsaus. Führen Sie für RHEL 8 den Befehlsubscription-manager repos --enable=rhel-8-for-x86_64-appstream-rpmsaus.Für Debian, Ubuntu:
apt-get -y install python3-dev python3-pip python3-venv libkrb5-dev libffi-dev <!--NeedCopy-->Für SUSE:
zypper -n install lsb-release python3-devel python3-setuptools krb5-devel gcc libffi-devel libopenssl-devel <!--NeedCopy--> -
Erstellen Sie eine Python3-virtuelle Umgebung.
Hinweis:
Um SSL-Verbindungsfehler zu beheben, die bei der Verwendung des pip-Tools auftreten können, sollten Sie die folgenden vertrauenswürdigen Hosts zur Datei /etc/pip.conf hinzufügen:
[global]trusted-host =pypi.orgfiles.pythonhosted.orgFür Debian, RHEL, Rocky Linux, Ubuntu:
sudo python3 -m venv /opt/Citrix/VDA/sbin/ctxpython3 <!--NeedCopy-->Für SUSE:
sudo ln -s /usr/lib/mit/bin/krb5-config /usr/bin/krb5-config export PATH=$PATH:/usr/lib/mit/bin:/usr/lib/mit/sbin sudo mkdir -p /usr/lib/mit/include/gssapi/ sudo ln -s /usr/include/gssapi/gssapi_ext.h/usr/lib/mit/include/gssapi/gssapi_ext.h sudo python3 -m venv /opt/Citrix/VDA/sbin/ctxpython3 <!--NeedCopy--> -
Installieren Sie XDPing-Abhängigkeiten.
Für Debian 12:
sudo /opt/Citrix/VDA/sbin/ctxpython3/bin/python3 -m pip install --upgrade pip sudo /opt/Citrix/VDA/sbin/ctxpython3/bin/python3 -m pip install asn1crypto==1.5.1 cffi==1.17.1 cryptography==43.0.1 decorator==5.1.1 gssapi==1.8.3 ldap3==2.9.1 netifaces==0.11.0 packaging==24.1 pg8000==1.31.2 prettytable==3.11.0 psutil==6.0.0 pyasn1==0.6.1 pyparsing==3.1.4 python-dateutil==2.9.0.post0 scramp==1.4.5 six==1.16.0 termcolor==2.4.0 wcwidth==0.2.13 sudo /opt/Citrix/VDA/sbin/ctxpython3/bin/python3 -m pip install /opt/Citrix/VDA/sbin/ctxpython3/packages/xdping-*.whl <!--NeedCopy-->Für andere Linux-Distributionen:
sudo /opt/Citrix/VDA/sbin/ctxpython3/bin/python3 -m pip install --upgrade pip sudo /opt/Citrix/VDA/sbin/ctxpython3/bin/python3 -m pip install asn1crypto==1.5.1 cffi==1.15.0 cryptography==36.0.2 decorator==5.1.1 gssapi==1.7.3 ldap3==2.9.1 netifaces==0.11.0 packaging==21.3 pg8000==1.26.0 psutil==5.9.0 pyasn1==0.4.8 pycparser==2.21 pyparsing==3.0.8 scramp==1.4.1 six==1.16.0 termcolor==1.1.0 prettytable==2.5.0 sudo /opt/Citrix/VDA/sbin/ctxpython3/bin/python3 -m pip install /opt/Citrix/VDA/sbin/ctxpython3/packages/xdping-*.whl <!--NeedCopy-->
Teilen
Teilen
In diesem Artikel
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.