Creating a Python 2 Environment on the Kunpeng-based Kylin OS
The Python 2 environment is required due to software installation requirements.
- Create a new environment named py27 and specify Python 2.7 as the runtime environment.
conda create -n py27 python2.7
- Activate the py27 environment.
conda activate py27
- Check the Python version.
python --version

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