.. index:: pair: installation ; conda .. _installation_conda: ================================================= Installation d'Anaconda et utilisation de conda ================================================= .. seealso:: - https://conda.io/docs/user-guide/getting-started.html#starting-conda - https://www.anaconda.com/download/#linux .. contents:: :depth: 3 Installation d'anaconda ========================== .. seealso:: - https://conda.io/docs/user-guide/getting-started.html#starting-conda - https://www.anaconda.com/download/#linux .. figure:: installation_anaconda.png :align: center Activation d'un environnement virtuel conda ================================================ :: pvergain@UC004:~/tmp/test_simpy$ conda activate test_sympy :: (test_sympy) pvergain@UC004:~/tmp/test_simpy$ conda install matplotlib :: Solving environment: done ==> WARNING: A newer version of conda exists. <== current version: 4.5.11 latest version: 4.5.12 Please update conda by running $ conda update -n base -c defaults conda ## Package Plan ## environment location: /home/pvergain/.conda/envs/test_sympy added / updated specs: - matplotlib The following packages will be downloaded: package | build ---------------------------|----------------- six-1.12.0 | py37_0 22 KB wheel-0.32.3 | py37_0 35 KB pyparsing-2.3.0 | py37_0 101 KB python-dateutil-2.7.5 | py37_0 275 KB openssl-1.1.1a | h7b6447c_0 5.0 MB sqlite-3.25.3 | h7b6447c_0 1.9 MB intel-openmp-2019.1 | 144 885 KB qt-5.9.7 | h5867ecd_1 85.9 MB python-3.7.1 | h0371630_7 36.4 MB ncurses-6.1 | he6710b0_1 958 KB numpy-1.15.4 | py37h7e9f1db_0 47 KB pytz-2018.7 | py37_0 247 KB matplotlib-3.0.2 | py37h5429711_0 6.6 MB mkl-2019.1 | 144 204.6 MB numpy-base-1.15.4 | py37hde5b4d6_0 4.2 MB pip-18.1 | py37_0 1.7 MB tornado-5.1.1 | py37h7b6447c_0 662 KB mkl_fft-1.0.6 | py37hd81dba3_0 196 KB setuptools-40.6.2 | py37_0 603 KB libpng-1.6.35 | hbc83047_0 335 KB zlib-1.2.11 | h7b6447c_3 120 KB mkl_random-1.0.2 | py37hd81dba3_0 405 KB ------------------------------------------------------------ Total: 351.1 MB The following NEW packages will be INSTALLED: blas: 1.0-mkl ca-certificates: 2018.03.07-0 certifi: 2018.11.29-py37_0 cycler: 0.10.0-py37_0 dbus: 1.13.2-h714fa37_1 expat: 2.2.6-he6710b0_0 fontconfig: 2.13.0-h9420a91_0 freetype: 2.9.1-h8a8886c_1 glib: 2.56.2-hd408876_0 gst-plugins-base: 1.14.0-hbbd80ab_1 gstreamer: 1.14.0-hb453b48_1 icu: 58.2-h9c2bf20_1 intel-openmp: 2019.1-144 jpeg: 9b-h024ee3a_2 kiwisolver: 1.0.1-py37hf484d3e_0 libedit: 3.1.20170329-h6b74fdf_2 libffi: 3.2.1-hd88cf55_4 libgcc-ng: 8.2.0-hdf63c60_1 libgfortran-ng: 7.3.0-hdf63c60_0 libpng: 1.6.35-hbc83047_0 libstdcxx-ng: 8.2.0-hdf63c60_1 libuuid: 1.0.3-h1bed415_2 libxcb: 1.13-h1bed415_1 libxml2: 2.9.8-h26e45fe_1 matplotlib: 3.0.2-py37h5429711_0 mkl: 2019.1-144 mkl_fft: 1.0.6-py37hd81dba3_0 mkl_random: 1.0.2-py37hd81dba3_0 ncurses: 6.1-he6710b0_1 numpy: 1.15.4-py37h7e9f1db_0 numpy-base: 1.15.4-py37hde5b4d6_0 openssl: 1.1.1a-h7b6447c_0 pcre: 8.42-h439df22_0 pip: 18.1-py37_0 pyparsing: 2.3.0-py37_0 pyqt: 5.9.2-py37h05f1152_2 python: 3.7.1-h0371630_7 python-dateutil: 2.7.5-py37_0 pytz: 2018.7-py37_0 qt: 5.9.7-h5867ecd_1 readline: 7.0-h7b6447c_5 setuptools: 40.6.2-py37_0 sip: 4.19.8-py37hf484d3e_0 six: 1.12.0-py37_0 sqlite: 3.25.3-h7b6447c_0 tk: 8.6.8-hbc83047_0 tornado: 5.1.1-py37h7b6447c_0 wheel: 0.32.3-py37_0 xz: 5.2.4-h14c3975_4 zlib: 1.2.11-h7b6447c_3 Proceed ([y]/n)? y Downloading and Extracting Packages six-1.12.0 | 22 KB | ################################################################################################################################################################################################### | 100% wheel-0.32.3 | 35 KB | ################################################################################################################################################################################################### | 100% pyparsing-2.3.0 | 101 KB | ################################################################################################################################################################################################### | 100% python-dateutil-2.7. | 275 KB | ################################################################################################################################################################################################### | 100% openssl-1.1.1a | 5.0 MB | ################################################################################################################################################################################################### | 100% sqlite-3.25.3 | 1.9 MB | ################################################################################################################################################################################################### | 100% intel-openmp-2019.1 | 885 KB | ################################################################################################################################################################################################### | 100% qt-5.9.7 | 85.9 MB | ################################################################################################################################################################################################### | 100% python-3.7.1 | 36.4 MB | ################################################################################################################################################################################################### | 100% ncurses-6.1 | 958 KB | ################################################################################################################################################################################################### | 100% numpy-1.15.4 | 47 KB | ################################################################################################################################################################################################### | 100% pytz-2018.7 | 247 KB | ################################################################################################################################################################################################### | 100% matplotlib-3.0.2 | 6.6 MB | ################################################################################################################################################################################################### | 100% mkl-2019.1 | 204.6 MB | ################################################################################################################################################################################################### | 100% numpy-base-1.15.4 | 4.2 MB | ################################################################################################################################################################################################### | 100% pip-18.1 | 1.7 MB | ################################################################################################################################################################################################### | 100% tornado-5.1.1 | 662 KB | ################################################################################################################################################################################################### | 100% mkl_fft-1.0.6 | 196 KB | ################################################################################################################################################################################################### | 100% setuptools-40.6.2 | 603 KB | ################################################################################################################################################################################################### | 100% libpng-1.6.35 | 335 KB | ################################################################################################################################################################################################### | 100% zlib-1.2.11 | 120 KB | ################################################################################################################################################################################################### | 100% mkl_random-1.0.2 | 405 KB | ################################################################################################################################################################################################### | 100% Preparing transaction: done Verifying transaction: done Executing transaction: done (test_sympy) pvergai :: (test_sympy) pvergain@UC004:~/tmp/test_simpy$ which python :: /home/pvergain/.conda/envs/test_sympy/bin/python :: (test_sympy) pvergain@UC004:~/tmp/test_simpy$ python --version :: Python 3.7.1