Rate This Document
Findability
Accuracy
Completeness
Readability

Creating a Python 2 Environment on the Kunpeng-based Kylin OS

The Python 2 environment is required due to software installation requirements.

  1. Create a new environment named py27 and specify Python 2.7 as the runtime environment.
    conda create -n py27 python2.7
  2. Activate the py27 environment.
    conda activate py27
  3. Check the Python version.
    python --version

  4. To exit the py27 environment, run the following command:
    conda deactivate