简介
Anaconda是Python的包管理器和环境管理器。它附带了conda、Python和150多个科学包及其依赖项。利用Anaconda可以立即开始处理数据。
配置流程
1.配置编译环境
安装wget工具。
apt-get install wget-y
2.获取源码
获取“Archiconda3-0.2.2”源码包。
cd/usr/local/src wget https://github.com/Archiconda/build-tools/releases/download/0.2.2/Archiconda3-0.2.2-Linux-aarch64.sh
3.编译和安装
1)执行脚本安装。
cd/usr/local/src chmod+x Archiconda3-0.2.2-Linux-aarch64.sh ./Archiconda3-0.2.2-Linux-aarch64.sh
请按照提示输入相关的信息进行安装。
2)配置环境变量。
source~/.bashrc
4.运行和验证
1)查看conda版本号。
conda--v
root ecs-9cc5:~#conda--v
conda 4.5.12
2)查看当前conda的包列表。
conda list
# packages in environment at /usr/local/src/confirm:
#
# Name Version Build Channel
asn1crypto 0.24.0 py37_1003 archiarm
bzip2
1.0.6 h7b6447c_6 c4aarch64
ca-certificates 2018.03.07 0 c4aarch64
certifi 2018.11.29 py37_1000 archiarm
cffi 1.11.5 py37h9745a5d_1001 archiarm
chardet 3.0.4 py37_1003 archiarm
conda 4.5.12 py37_1000 archiarm
conda-
env
2.6.0 1 archiarm
cryptography 2.3.1 py37hb7f436b_1000 archiarm
idna 2.8 py37_1000 archiarm
libedit 3.1.20170329 hc058e9b_2 c4aarch64
libffi 3.2.1 h71b71f5_5 c4aarch64
libgcc-ng 7.3.0 h5c90dd9_0 c4aarch64
libstdcxx-ng 7.3.0 h5c90dd9_0 c4aarch64
ncurses 6.1 h71b71f5_0 c4aarch64
openssl 1.0.2p h7b6447c_0 c4aarch64
pip 18.1 py37_1000 archiarm
pycosat 0.6.3 py37h14c3975_1001 archiarm
pycparser 2.19 py37_1 archiarm
pyopenssl 18.0.0 py37_1000 archiarm
pysocks 1.6.8 py37_1002 archiarm
python 3.7.1 hb2f79dd_1000 archiarm
requests 2.21.0 py37_1000 archiarm
ruamel_yaml 0.15.71 py37h14c3975_1000 archiarm
setuptools 40.6.3 py37_0 archiarm
six 1.12.0 py37_1000 archiarm
sqlite 3.26.0 hf8c457e_1000 archiarm