Installing Anaconda
Procedure
- Use PuTTY to log in to the server as the root user.
- Download Anaconda.
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2021.05-Linux-aarch64.sh
- Install Anaconda.
bash Anaconda3-2021.05-Linux-aarch64.sh
The default installation directory is /root/anaconda3. Press Enter and type yes as prompted to continue the installation. After the installation is successful, the system displays "Thank you for installing Anaconda3!".
- Restart the Shell terminal to initialize the Anaconda environment.
- Check whether the Anaconda environment configuration is initialized successfully.
echo $PATH
If the following information is displayed at the beginning of the command output, the initialization is successful:
/root/anaconda3/bin:/root/anaconda3/condabin:
- Create a PyClone environment.
conda create -n pyclone
- Activate the PyClone environment.
conda activate pyclone
- Install the dependencies.
conda install python==2.7.15 -c conda-forge pip install numpy --trusted-host mirrors.tools.huawei.com -i http://mirrors.tools.huawei.com/pypi/simple pip install matplotlib --trusted-host mirrors.tools.huawei.com -i http://mirrors.tools.huawei.com/pypi/simple conda install pandas -c conda-forge conda install pyyaml -c conda-forge pip install scipy --trusted-host mirrors.tools.huawei.com -i http://mirrors.tools.huawei.com/pypi/simple pip install seaborn --trusted-host mirrors.tools.huawei.com -i http://mirrors.tools.huawei.com/pypi/simple conda install singledispatch -c conda-forge pip install enum34 --trusted-host mirrors.tools.huawei.com -i http://mirrors.tools.huawei.com/pypi/simple pip install funcsigs --trusted-host mirrors.tools.huawei.com -i http://mirrors.tools.huawei.com/pypi/simple
Parent topic: Configuring the Compilation Environment