conda作为包管理器可帮助您查找和安装包。如果您需要一个需要不同版本Python的软件包,则无需切换到其他环境管理器,因为conda也是一个环境管理器。只需几个命令,您就可以设置一个完全独立的环境来运行不同版本的Python,同时继续在正常环境中运行您常用的Python版本。
在其默认配置中,conda可以安装和管理由Anaconda构建、审查和维护的repo.continuum.io上的数千个软件包。
conda包和环境管理器包含在所有版本的Anaconda,Miniconda和Anaconda Repository中。conda也包含在Anaconda Enterprise中,该公司为Python,R,Node.js,Java和其他应用程序堆栈提供现场企业包和环境管理。
开源Anaconda Distribution是在Linux,Windows和Mac OS X上执行Python/R数据科学和机器学习的最简单方法。全球有超过1100万用户,它是开发,测试和培训的行业标准。
Anaconda Enterprise支持您的组织,无论大小,从一台笔记本电脑上的单个用户轻松扩展到数千台计算机。 没有头痛,没有IT噩梦。
快速下载1,500多个Python/R数据科学包
使用Conda管理库,依赖项和环境
使用scikit-learn,TensorFlow和Theano开发和训练机器学习和深度学习模型
使用Dask,NumPy,pandas和Numba分析具有可伸缩性和性能的数据
使用Matplotlib,Bokeh,Datashader和Holoviews可视化结果
数据科学家直接从平台开始,无需涉及DevOps,可以快速开发和部署AI和机器学习模型。 Anaconda提供轻松所需的工具:
从文件,数据库和数据湖中收集数据
使用Conda管理环境(在下载时处理所有包依赖关系)
分享,协作和复制项目
只需单击一下按钮,即可将项目部署到生产环境中
conda cheatsheet
https://docs.conda.io/projects/conda/en/latest/user-guide/cheatsheet.html
Anaconda是一个免费开源的Python和R语言的发行版本,用于计算科学(数据科学、机器学习、大数据处理和预测分析),Anaconda致力于简化包管理和部署。Anaconda的包使用软件包管理系统Conda进行管理。超过1200万人使用Anaconda发行版本,并且Anaconda拥有超过1400个适用于Windows、Linux和MacOS的数据科学软件包。
Anaconda拥有超过1400个软件包其中包含Conda和虚拟环境管理,他们都被包含在Anaconda Navigator中,因此无需去了解独立安装每个库。可以使用已经包含在Anaconda中的命令conda install或者pip install从Anaconda仓库中安装开源软件包。Pip提供了Conda大部分功能,并且大多数情况下两个可以同时使用。可以使用conda build命令构建自定义包,然后通过上传到Anaconda Cloud、PyPI或其他仓库来分享给其他人。
下载并安装Anaconda
我们可以从https://www.anaconda.com/distribution/下载。本文用的是anaconda2。
注意:Anaconda2默认包含Python 2.7,Anaconda3默认包含Python 3.7,但是你可以创建虚拟环境来使用任意版本的Python包。
[root@xd07dbm01 mnt]# sh Anaconda2-2018.12-Linux-x86_64.sh
Welcome to Anaconda2 2018.12
In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>>
===================================
Anaconda End User License Agreement
===================================
Copyright 2015, Anaconda, Inc.
All rights reserved under the 3-clause BSD License:
...
...
...
cryptography
A Python library which exposes cryptographic recipes and primitives.
Do you accept the license terms? [yes|no]
[no] >>>
Please answer 'yes' or 'no':'
>>> yes
Anaconda2 will now be installed into this location:
/root/anaconda2
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[/root/anaconda2] >>> /opt/anaconda2
PREFIX=/opt/anaconda2
installing: python-2.7.15-h9bab390_6 ...
Python 2.7.15 :: Anaconda, Inc.
installing: blas-1.0-mkl ...
installing: ca-certificates-2018.03.07-0 ...
installing: conda-env-2.6.0-1 ...
installing: intel-openmp-2019.1-144 ...
installing: libgcc-ng-8.2.0-hdf63c60_1 ...
installing: libgfortran-ng-7.3.0-hdf63c60_0 ...
installing: libstdcxx-ng-8.2.0-hdf63c60_1 ...
installing: bzip2-1.0.6-h14c3975_5 ...
installing: expat-2.2.6-he6710b0_0 ...
installing: fribidi-1.0.5-h7b6447c_0 ...
installing: gmp-6.1.2-h6c8ec71_1 ...
installing: graphite2-1.3.12-h23475e2_2 ...
installing: icu-58.2-h9c2bf20_1 ...
installing: jbig-2.1-hdba287a_0 ...
installing: jpeg-9b-h024ee3a_2 ...
installing: libffi-3.2.1-hd88cf55_4 ...
installing: liblief-0.9.0-h7725739_1 ...
installing: libsodium-1.0.16-h1bed415_0 ...
installing: libtool-2.4.6-h7b6447c_5 ...
installing: libuuid-1.0.3-h1bed415_2 ...
installing: libxcb-1.13-h1bed415_1 ...
installing: lz4-c-1.8.1.2-h14c3975_0 ...
installing: lzo-2.10-h49e0be7_2 ...
installing: mkl-2019.1-144 ...
installing: ncurses-6.1-he6710b0_1 ...
installing: openssl-1.1.1a-h7b6447c_0 ...
installing: patchelf-0.9-he6710b0_3 ...
installing: pcre-8.42-h439df22_0 ...
installing: pixman-0.34.0-hceecf20_3 ...
installing: snappy-1.1.7-hbae5bb6_3 ...
installing: xz-5.2.4-h14c3975_4 ...
installing: yaml-0.1.7-had09818_2 ...
installing: zlib-1.2.11-h7b6447c_3 ...
installing: blosc-1.14.4-hdbcaa40_0 ...
installing: glib-2.56.2-hd408876_0 ...
installing: hdf5-1.10.2-hba1933b_1 ...
installing: libedit-3.1.20170329-h6b74fdf_2 ...
installing: libpng-1.6.35-hbc83047_0 ...
installing: libssh2-1.8.0-h1ba5d50_4 ...
installing: libtiff-4.0.9-he85c1e1_2 ...
installing: libxml2-2.9.8-h26e45fe_1 ...
installing: mpfr-4.0.1-hdf1c602_3 ...
installing: pandoc-1.19.2.1-hea2e7c5_1 ...
installing: readline-7.0-h7b6447c_5 ...
installing: tk-8.6.8-hbc83047_0 ...
installing: zeromq-4.2.5-hf484d3e_1 ...
installing: zstd-1.3.7-h0b5b093_0 ...
installing: dbus-1.13.2-h714fa37_1 ...
installing: freetype-2.9.1-h8a8886c_1 ...
installing: gstreamer-1.14.0-hb453b48_1 ...
installing: krb5-1.16.1-h173b8e3_7 ...
installing: libarchive-3.3.3-h5d8350f_5 ...
installing: libxslt-1.1.32-h1312cb7_0 ...
installing: mpc-1.1.0-h10f8cd9_1 ...
installing: sqlite-3.26.0-h7b6447c_0 ...
installing: unixodbc-2.3.7-h14c3975_0 ...
installing: fontconfig-2.13.0-h9420a91_0 ...
installing: gst-plugins-base-1.14.0-hbbd80ab_1 ...
installing: libcurl-7.63.0-h20c2e04_1000 ...
installing: alabaster-0.7.12-py27_0 ...
installing: asn1crypto-0.24.0-py27_0 ...
installing: atomicwrites-1.2.1-py27_0 ...
installing: attrs-18.2.0-py27h28b3542_0 ...
installing: backports-1.0-py27_1 ...
installing: backports_abc-0.5-py27h7b3c97b_0 ...
installing: beautifulsoup4-4.6.3-py27_0 ...
installing: bitarray-0.8.3-py27h14c3975_0 ...
installing: boto-2.49.0-py27_0 ...
installing: cairo-1.14.12-h8948797_3 ...
installing: cdecimal-2.3-py27h14c3975_3 ...
installing: certifi-2018.11.29-py27_0 ...
installing: chardet-3.0.4-py27_1 ...
installing: click-7.0-py27_0 ...
installing: cloudpickle-0.6.1-py27_0 ...
installing: colorama-0.4.1-py27_0 ...
installing: configparser-3.5.0-py27h5117587_0 ...
installing: contextlib2-0.5.5-py27hbf4c468_0 ...
installing: curl-7.63.0-hbc83047_1000 ...
installing: dask-core-1.0.0-py27_0 ...
installing: decorator-4.3.0-py27_0 ...
installing: defusedxml-0.5.0-py27_1 ...
installing: docutils-0.14-py27hae222c1_0 ...
installing: enum34-1.1.6-py27_1 ...
installing: et_xmlfile-1.0.1-py27h75840f5_0 ...
installing: fastcache-1.0.2-py27h14c3975_2 ...
installing: filelock-3.0.10-py27_0 ...
installing: funcsigs-1.0.2-py27h83f16ab_0 ...
installing: functools32-3.2.3.2-py27_1 ...
installing: future-0.17.1-py27_0 ...
installing: futures-3.2.0-py27_0 ...
installing: glob2-0.6-py27_1 ...
installing: gmpy2-2.0.8-py27h10f8cd9_2 ...
installing: greenlet-0.4.15-py27h7b6447c_0 ...
installing: grin-1.2.1-py27_4 ...
installing: heapdict-1.0.0-py27_2 ...
installing: idna-2.8-py27_0 ...
installing: imagesize-1.1.0-py27_0 ...
installing: ipaddress-1.0.22-py27_0 ...
installing: ipython_genutils-0.2.0-py27h89fb69b_0 ...
installing: itsdangerous-1.1.0-py27_0 ...
installing: jdcal-1.4-py27_0 ...
installing: kiwisolver-1.0.1-py27hf484d3e_0 ...
installing: lazy-object-proxy-1.3.1-py27h14c3975_2 ...
installing: linecache2-1.0.0-py27_0 ...
installing: locket-0.2.0-py27h73929a2_1 ...
installing: lxml-4.2.5-py27hefd8a0e_0 ...
installing: markupsafe-1.1.0-py27h7b6447c_0 ...
installing: mccabe-0.6.1-py27_1 ...
installing: mistune-0.8.4-py27h7b6447c_0 ...
installing: mkl-service-1.1.2-py27he904b0f_5 ...
installing: mpmath-1.1.0-py27_0 ...
installing: msgpack-python-0.5.6-py27h6bb024c_1 ...
installing: numpy-base-1.15.4-py27hde5b4d6_0 ...
installing: olefile-0.46-py27_0 ...
installing: pandocfilters-1.4.2-py27_1 ...
installing: parso-0.3.1-py27_0 ...
installing: pep8-1.7.1-py27_0 ...
installing: pkginfo-1.4.2-py27_1 ...
installing: pluggy-0.8.0-py27_0 ...
installing: ply-3.11-py27_0 ...
installing: prometheus_client-0.5.0-py27_0 ...
installing: psutil-5.4.8-py27h7b6447c_0 ...
installing: ptyprocess-0.6.0-py27_0 ...
installing: py-1.7.0-py27_0 ...
installing: py-lief-0.9.0-py27h7725739_1 ...
installing: pycodestyle-2.4.0-py27_0 ...
installing: pycosat-0.6.3-py27h14c3975_0 ...
installing: pycparser-2.19-py27_0 ...
installing: pycrypto-2.6.1-py27h14c3975_9 ...
installing: pycurl-7.43.0.2-py27h1ba5d50_0 ...
installing: pyflakes-2.0.0-py27_0 ...
installing: pyodbc-4.0.25-py27he6710b0_0 ...
installing: pyparsing-2.3.0-py27_0 ...
installing: pysocks-1.6.8-py27_0 ...
installing: python-libarchive-c-2.8-py27_6 ...
installing: pytz-2018.7-py27_0 ...
installing: pyyaml-3.13-py27h14c3975_0 ...
installing: pyzmq-17.1.2-py27h14c3975_0 ...
installing: qt-5.9.7-h5867ecd_1 ...
installing: qtpy-1.5.2-py27_0 ...
installing: rope-0.11.0-py27_0 ...
installing: ruamel_yaml-0.15.46-py27h14c3975_0 ...
installing: scandir-1.9.0-py27h14c3975_0 ...
installing: send2trash-1.5.0-py27_0 ...
installing: simplegeneric-0.8.1-py27_2 ...
installing: sip-4.19.8-py27hf484d3e_0 ...
installing: six-1.12.0-py27_0 ...
installing: snowballstemmer-1.2.1-py27h44e2768_0 ...
installing: sortedcontainers-2.1.0-py27_0 ...
installing: sphinxcontrib-1.0-py27_1 ...
installing: sqlalchemy-1.2.15-py27h7b6447c_0 ...
installing: subprocess32-3.5.3-py27h7b6447c_0 ...
installing: tblib-1.3.2-py27h51fe5ba_0 ...
installing: testpath-0.4.2-py27_0 ...
installing: toolz-0.9.0-py27_0 ...
installing: tqdm-4.28.1-py27h28b3542_0 ...
installing: typing-3.6.6-py27_0 ...
installing: unicodecsv-0.14.1-py27h5062da9_0 ...
installing: wcwidth-0.1.7-py27h9e3e1ab_0 ...
installing: webencodings-0.5.1-py27_1 ...
installing: werkzeug-0.14.1-py27_0 ...
installing: wrapt-1.10.11-py27h14c3975_2 ...
installing: wurlitzer-1.0.2-py27_0 ...
installing: xlrd-1.2.0-py27_0 ...
installing: xlsxwriter-1.1.2-py27_0 ...
installing: xlwt-1.3.0-py27h3d85d97_0 ...
installing: babel-2.6.0-py27_0 ...
installing: backports.os-0.1.1-py27_0 ...
installing: backports.shutil_get_terminal_size-1.0.0-py27_2 ...
installing: cffi-1.11.5-py27he75722e_1 ...
installing: cycler-0.10.0-py27hc7354d3_0 ...
installing: cytoolz-0.9.0.1-py27h14c3975_1 ...
installing: entrypoints-0.2.3-py27_2 ...
installing: harfbuzz-1.8.8-hffaf4a1_0 ...
installing: html5lib-1.0.1-py27_0 ...
installing: jedi-0.13.2-py27_0 ...
installing: llvmlite-0.26.0-py27hd408876_0 ...
installing: mkl_fft-1.0.6-py27hd81dba3_0 ...
installing: mkl_random-1.0.2-py27hd81dba3_0 ...
installing: more-itertools-4.3.0-py27_0 ...
installing: multipledispatch-0.6.0-py27_0 ...
installing: nltk-3.4-py27_1 ...
installing: openpyxl-2.5.12-py27_0 ...
installing: packaging-18.0-py27_0 ...
installing: partd-0.3.9-py27_0 ...
installing: pathlib2-2.3.3-py27_0 ...
installing: pexpect-4.6.0-py27_0 ...
installing: pillow-5.3.0-py27h34e0f95_0 ...
installing: pycairo-1.18.0-py27h2a1e443_0 ...
installing: pyqt-5.9.2-py27h05f1152_2 ...
installing: python-dateutil-2.7.5-py27_0 ...
installing: qtawesome-0.5.3-py27_0 ...
installing: setuptools-40.6.3-py27_0 ...
installing: singledispatch-3.4.0.3-py27h9bcb476_0 ...
installing: sortedcollections-1.0.1-py27_0 ...
installing: sphinxcontrib-websupport-1.1.0-py27_1 ...
installing: ssl_match_hostname-3.5.0.1-py27_2 ...
installing: sympy-1.3-py27_0 ...
installing: traceback2-1.4.0-py27_0 ...
installing: traitlets-4.3.2-py27hd6ce930_0 ...
installing: zict-0.1.3-py27_0 ...
installing: backports.functools_lru_cache-1.5-py27_1 ...
installing: bleach-3.0.2-py27_0 ...
installing: clyent-1.2.2-py27_1 ...
installing: cryptography-2.4.2-py27h1ba5d50_0 ...
installing: cython-0.29.2-py27he6710b0_0 ...
installing: get_terminal_size-1.0.0-haa9412d_0 ...
installing: gevent-1.3.7-py27h7b6447c_1 ...
installing: importlib_metadata-0.6-py27_0 ...
installing: isort-4.3.4-py27_0 ...
installing: jinja2-2.10-py27_0 ...
installing: jsonschema-2.6.0-py27h7ed5aa4_0 ...
installing: jupyter_core-4.4.0-py27_0 ...
installing: navigator-updater-0.2.1-py27_0 ...
installing: networkx-2.2-py27_1 ...
installing: nose-1.3.7-py27_2 ...
installing: numpy-1.15.4-py27h7e9f1db_0 ...
installing: pango-1.42.4-h049681c_0 ...
installing: pickleshare-0.7.5-py27_0 ...
installing: pygments-2.3.1-py27_0 ...
installing: pytest-4.0.2-py27_0 ...
installing: tornado-5.1.1-py27h7b6447c_0 ...
installing: unittest2-1.1.0-py27_0 ...
installing: wheel-0.32.3-py27_0 ...
installing: astroid-1.6.5-py27_0 ...
installing: astropy-2.0.9-py27hdd07704_0 ...
installing: bokeh-1.0.2-py27_0 ...
installing: bottleneck-1.2.1-py27h035aef0_1 ...
installing: conda-verify-3.1.1-py27_0 ...
installing: datashape-0.5.4-py27_1 ...
installing: distributed-1.25.1-py27_0 ...
installing: flask-1.0.2-py27_1 ...
installing: h5py-2.8.0-py27h989c5e5_3 ...
installing: imageio-2.4.1-py27_0 ...
installing: jupyter_client-5.2.4-py27_0 ...
installing: matplotlib-2.2.3-py27hb69df0a_0 ...
installing: nbformat-4.4.0-py27hed7f2b2_0 ...
installing: numba-0.41.0-py27h962f231_0 ...
installing: numexpr-2.6.8-py27h9e4a6bb_0 ...
installing: pandas-0.23.4-py27h04863e7_0 ...
installing: path.py-11.5.0-py27_0 ...
installing: pip-18.1-py27_0 ...
installing: prompt_toolkit-1.0.15-py27h1b593e1_0 ...
installing: pyopenssl-18.0.0-py27_0 ...
installing: pywavelets-1.0.1-py27hdd07704_0 ...
installing: scipy-1.1.0-py27h7c811a0_2 ...
installing: terminado-0.8.1-py27_1 ...
installing: bkcharts-0.2-py27h241ae91_0 ...
installing: dask-1.0.0-py27_0 ...
installing: flask-cors-3.0.7-py27_0 ...
installing: ipython-5.8.0-py27_0 ...
installing: nbconvert-5.4.0-py27_1 ...
installing: patsy-0.5.1-py27_0 ...
installing: pylint-1.9.2-py27_0 ...
installing: pytables-3.4.4-py27ha205bf6_0 ...
installing: scikit-image-0.14.1-py27he6710b0_0 ...
installing: scikit-learn-0.20.1-py27hd81dba3_0 ...
installing: urllib3-1.24.1-py27_0 ...
installing: ipykernel-4.10.0-py27_0 ...
installing: odo-0.5.1-py27h9170de3_0 ...
installing: requests-2.21.0-py27_0 ...
installing: statsmodels-0.9.0-py27h035aef0_0 ...
installing: anaconda-client-1.7.2-py27_0 ...
installing: blaze-0.11.3-py27_0 ...
installing: jupyter_console-5.2.0-py27_1 ...
installing: notebook-5.7.4-py27_0 ...
installing: qtconsole-4.4.3-py27_0 ...
installing: seaborn-0.9.0-py27_0 ...
installing: sphinx-1.8.2-py27_0 ...
installing: spyder-kernels-0.3.0-py27_0 ...
installing: anaconda-navigator-1.9.6-py27_0 ...
installing: anaconda-project-0.8.2-py27_0 ...
installing: jupyterlab_launcher-0.11.2-py27h28b3542_0 ...
installing: numpydoc-0.8.0-py27_0 ...
installing: widgetsnbextension-3.4.2-py27_0 ...
installing: ipywidgets-7.4.2-py27_0 ...
installing: jupyterlab-0.33.11-py27_0 ...
installing: spyder-3.3.2-py27_0 ...
installing: _ipyw_jlab_nb_ext_conf-0.1.0-py27_0 ...
installing: jupyter-1.0.0-py27_7 ...
installing: anaconda-2018.12-py27_0 ...
installing: conda-4.5.12-py27_0 ...
installing: conda-build-3.17.6-py27_0 ...
installation finished.
Do you wish the installer to initialize Anaconda2
in your /root/.bashrc ? [yes|no]
[no] >>> yes
Initializing Anaconda2 in /root/.bashrc
A backup will be made to: /root/.bashrc-anaconda2.bak
For this change to become active, you have to open a new terminal.
Thank you for installing Anaconda2!
[root@xd07dbm01 mnt]#
Reference
http://bioconda.github.io/https://conda.io/projects/conda/en/latest/index.html
https://www.python.org/
http://pandas.pydata.org/
https://github.com/ContinuumIO/
https://en.wikipedia.org/wiki/History_of_Python
https://en.wikipedia.org/wiki/Python_(programming_language)
https://pip.pypa.io/en/stable/installing/
https://wxpython.org/
https://wxpython.org/pages/overview/
https://github.com/wxWidgets/Phoenix/