--Mettre à jour homebrew et installer pyenv
$ brew update
$ brew upgrade
$ brew install pyenv
$ pyenv --version ###Confirmez que l'installation de pyenv est terminée
--Vérifiez la version d'anaconda à installer
-- grep ne doit pas être fait
$ pyenv install -l | grep anaconda
--Installez l'anaconda que vous souhaitez installer
$ pyenv install anaconda3-4.2.0
$ pyenv versions ###Confirmez que l'installation d'anaconda est terminée
--Anaconda peut être utilisé
--Définissez le nom que vous souhaitez utiliser pour l'argument de   --name``` (comme alias)
$ pyenv global anaconda3-4.2.0    ###Spécifiez la version d'anaconda à utiliser
$ conda create --name py python=3.6 anaconda    ###Pour pouvoir utiliser la bibliothèque anaconda à la fin de l'argument"anaconda"je vais ajouter
Fetching package metadata .......
Solving package specifications: ..........
Package plan for installation in environment ...
The following packages will be downloaded:
    package                    |            build
    ---------------------------|-----------------
    jpeg-9b                    |                0         240 KB
    libiconv-1.14              |                0         1.3 MB
    mkl-2017.0.1               |                0       110.8 MB
    curl-7.52.1                |                0         536 KB
...
    anaconda-4.3.0             |      np111py36_0           6 KB
    ------------------------------------------------------------
                                           Total:       326.8 MB
The following NEW packages will be INSTALLED:
    _license:           1.1-py36_1
    alabaster:          0.7.9-py36_0
    anaconda:           4.3.0-np111py36_0
...
    yaml:               0.1.6-0
    zlib:               1.2.8-3
Proceed ([y]/n)? y
Fetching packages ...
jpeg-9b-0.tar. 100% |#############################################################################| Time: 0:00:00   3.62 MB/s
libiconv-1.14- 100% |#############################################################################| Time: 0:00:00   4.43 MB/s
...
$ source activate py    ### --Utilisez le nom utilisé comme argument du nom comme argument d'activation → La session iTerm est fermée pour une raison quelconque(La fenêtre tmux est fermée)
$ python --version    ###Vérifiez si python3 est démarré à partir d'anaconda
Python 3.5.2 :: Anaconda 4.2.0 (x86_64)    ###Si python n'est pas démarré depuis anaconda"::"Après cela ne devrait pas être affiché
$ python2 --version    ###Par exemple, cette fois python2.x pas encore installé sur anaconda
Python 2.7.13
$ python2
Python 2.7.13 (default, Dec 24 2016, 20:29:00)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
$ python3 --version    ### python3.Si x, commencez par anaconda
Python 3.5.2 :: Anaconda 4.2.0 (x86_64)
$ python
Python 3.5.2 |Anaconda 4.2.0 (x86_64)| (default, Jul  2 2016, 17:52:12)
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
--Pour supprimer l'environnement conda create '', entrez un nom dans l'argument et conda remove ''
$ conda remove --name py --all
--Si vous ne souhaitez pas utiliser l'environnement anaconda créé, désactivez avec le nom d'ensemble comme argument.
$ source deactivate py
(↓ 2017 / juillet / 22 postscript ↓)
Procédure lorsque vous souhaitez ajouter une bibliothèque via anaconda
`$ anaconda search -t conda [nom de la bibliothèque]` pour rechercher la bibliothèque que vous voulez  $ anaconda show [nom de la bibliothèque atteint par la recherche]    $ conda install --channel [chemin] [nom de la bibliothèque]    $ conda uninstall [nom de la bibliothèque]  Au fait, si vous souhaitez installer gensim, pip___ est recommandé plutôt que ___ anaconda. Si vous voulez faire du traitement Deep Learning, les gensim installés avec ___pip peuvent être beaucoup plus rapides que ___ (Cliquez ici pour plus de détails articles / 619d64d646d0385a7e01)).
Installer gensim avec anaconda
$ anaconda search -t conda gensim ###La bibliothèque gensim qui semble avoir été préparée par diverses personnes s'affiche
Using Anaconda API: https://api.anaconda.org
Run 'anaconda show <USER/PACKAGE>' to get more details:
Packages:
     Name                      |  Version | Package Types   | Platforms
     ------------------------- |   ------ | --------------- | ---------------
     ActivisionGameScience/gensim |   0.11.1 | conda           | linux-64
                                          : Python framework for fast Vector Space Modelling
     DavidMertz/accelerate-gensim |   0.12.3 | conda           | linux-64, win-64, osx-64
     KristinDay/gensim         |   0.12.4 | conda           | osx-64
                                          : Python framework for fast Vector Space Modelling
     MickC/gensim              |   0.10.0 | conda           | linux-64, win-64
                                          : Gensim installation for Anaconda
     RahulJain/gensim          |   0.12.4 | conda           | win-64
     anaconda/gensim           |    2.2.0 | conda           | linux-ppc64le, linux-64, win-32, osx-64, linux-32, win-64
     asmeurer/gensim           |    0.8.8 | conda           | win-32, win-64, osx-64
・
・
・
     smfullman/gensim          |   0.12.1 | conda           | linux-64
                                          : Python framework for fast Vector Space Modelling
     test_org_002/gensim       | 0.13.4.1 | conda           |
     ymartel/gensim            |   0.10.3 | conda           | linux-64
                                          : Python framework for fast Vector Space Modelling
Found 21 packages
$ anaconda show anaconda/gensim ###Quelque chose comme ça dans la sortie(Jugement de nom, version 2.2.0 Dernier, compatible avec la plateforme)Choisir
Using Anaconda API: https://api.anaconda.org
Name:    gensim
Summary:
Access:  public
Package Types:  conda
Versions:
   + 0.10.0
   + 0.10.3
   + 0.12.2
   + 0.10.2
   + 0.12.1
   + 0.12.4
   + 0.13.3
   + 0.13.4.1
   + 0.13.4
   + 1.0.1
   + 2.1.0
   + 2.2.0
To install this package with conda run:
     conda install --channel https://conda.anaconda.org/anaconda gensim
$ conda install --channel https://conda.anaconda.org/anaconda gensim ###Il peut être installé en tapant la sortie de la commande sur la dernière ligne.
$ ###Encore une fois, nous recommandons d'installer gensim à partir de pip.
$ conda uninstall gensim ###Si vous faites une erreur, vous pouvez le désinstaller comme indiqué sur la gauche.
        Recommended Posts