No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Device Management

CloudEngine 12800 and 12800E V200R005C10

This document describes the configurations of Device Management, including device status query, hardware management, Information Center Configuration, NTP, Synchronous Ethernet Configuration, Fault Management Configuration, Energy-Saving Management Configuration, Performance Management Configuration, Maintenance Assistant Configuration, and OPS Configuration.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring a Python Version

Configuring a Python Version

This section describes how to configure a Python version.

Context

The Python script parser has two versions: Python 2.7.15 and Python 3.7.0. Only one version can take effect at a time. You need to select a version based on the Python script that is in use.

NOTE:
This configuration task applies only to the admin VS.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ops

    The OPS view is displayed.

  3. Run install { python2 | python3 }

    The Python version is configured.

    NOTE:
    • Before running this command, check that no Python script has been installed on the device. If a Python script already exists, run the ops uninstall file file-name command to uninstall the script.

    • If a Python script is running on the device, run the undo script-assistant python file-name command or undo assistant task-name command to stop the script and then uninstall it.

  4. Run commit

    The configuration is committed.

Verifying the Configuration

Run the display python version command to check information about the Python version that is in use.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100074722

Views: 14715

Downloads: 18

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next