Installing on macOS — Anaconda 2.0 documentation.html
23.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" style="" class=" js flexbox flexboxlegacy canvas canvastext webgl no-touch geolocation postmessage no-websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients no-cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths" lang="en"><head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Installing on macOS — Anaconda 2.0 documentation</title>
<link rel="stylesheet" href="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/styles.css" type="text/css">
<link rel="stylesheet" href="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/pygments.css" type="text/css">
<link rel="stylesheet" type="text/css" href="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/badge_only.css">
<script type="text/javascript" id="documentation_options" data-url_root="../../../" src="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/documentation_options.js"></script>
<script type="text/javascript" src="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/jquery_002.js"></script>
<script type="text/javascript" src="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/underscore.js"></script>
<script type="text/javascript" src="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/doctools.js"></script>
<script type="text/javascript" src="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/language_data.js"></script>
<script type="text/javascript" src="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/readthedocs-doc-embed.js"></script>
<link rel="index" title="Index" href="https://docs.anaconda.com/genindex/">
<link rel="search" title="Search" href="https://docs.anaconda.com/search/">
<link rel="next" title="Installing on Linux" href="https://docs.anaconda.com/anaconda/install/linux/">
<link rel="prev" title="Installing on Windows" href="https://docs.anaconda.com/anaconda/install/windows/">
<link rel="icon" href="https://docs.anaconda.com/_static/img/favicon.ico" type="image/x-icon">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">
<script type="text/javascript" src="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/jquery.js"></script>
<script type="text/javascript" src="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/anaconda.js"></script>
<script type="text/javascript" src="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/theme.js"></script>
<!-- RTD Extra Head -->
<!--
Always link to the latest version, as canonical.
http://docs.readthedocs.org/en/latest/canonical.html
-->
<link rel="canonical" href="https://docs.anaconda.com/anaconda/install/mac-os/">
<link rel="stylesheet" href="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/readthedocs-doc-embed.css" type="text/css">
<script type="text/javascript" src="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/readthedocs-data.js"></script>
<!-- Add page-specific data, which must exist in the page js, not global -->
<script type="text/javascript">
READTHEDOCS_DATA['page'] = 'anaconda/install/mac-os'
READTHEDOCS_DATA['source_suffix'] = '.rst'
</script>
<script type="text/javascript" src="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/readthedocs-analytics.js"></script>
<!-- end RTD <extrahead> -->
</head><body>
<div class="off-canvas-wrap panels-layout-continuum_two_col">
<div class="inner-wrap">
<header class="brand-header">
<div class="content-wrapper">
<div class="columns col-xs-10 col-sm-6 col-md-6 col-lg-6">
<a class="image-link " href="https://docs.anaconda.com/" role="button" aria-label="Anaconda. Click to return home.">
<img class="logo" alt="Anaconda" title="Anaconda" aria-hidden="true" src="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/logo-docs.svg">
</a>
</div>
<div class="columns col-xs-2 col-lg-3 col-sm-3 pull-right">
<div class="row">
<div class="pull-right">
<div class="header-search">
<a href="https://docs.anaconda.com/search/" class="search__link">
<span class="search__link-icon"></span>
</a>
</div>
</div>
</div>
</div>
</div>
</header>
<div id="main-content">
<div class="content-wrapper">
<div class="breadcrumb-wrapper">
<div class="breadcrumb-container">
<button class="anchor toggle-sidebar menu-icon menu-icon">
<i class="fa fa-bars"></i>
</button>
</div>
</div>
<div>
<div class="layout-two-col">
<aside class="layout-two-col__second natural" id="layout-two-col-sidebar" style="top: auto;">
<div class="panel-pane pane-menu-tree pane-node-field-doc-navigation-menu"><!--#DOCS_SIDEBAR_BEGIN-->
<ul class="current">
<li class="toctree-l1"><a class="reference external" href="https://docs.anaconda.com/">Home</a></li>
<li class="toctree-l1"><a class="reference external" href="https://enterprise-docs.anaconda.com/">Anaconda Enterprise 5</a></li>
<li class="toctree-l1"><a class="reference internal" href="https://docs.anaconda.com/anaconda-enterprise-4/">Anaconda Enterprise 4</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="https://docs.anaconda.com/anaconda/">Anaconda Distribution</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="https://docs.anaconda.com/anaconda/install/">Installation</a><ul class="current">
<li class="toctree-l3"><a class="reference internal" href="https://docs.anaconda.com/anaconda/install/windows/">Installing on Windows</a></li>
<li class="toctree-l3 current"><a class="current reference internal" href="#">Installing on macOS</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#macos-graphical-install">macOS graphical install</a></li>
<li class="toctree-l4"><a class="reference internal" href="#using-the-command-line-install">Using the command-line install</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="https://docs.anaconda.com/anaconda/install/linux/">Installing on Linux</a></li>
<li class="toctree-l3"><a class="reference internal" href="https://docs.anaconda.com/anaconda/install/linux-power8/">Installing on Linux POWER</a></li>
<li class="toctree-l3"><a class="reference internal" href="https://docs.anaconda.com/anaconda/install/silent-mode/">Installing in silent mode</a></li>
<li class="toctree-l3"><a class="reference internal" href="https://docs.anaconda.com/anaconda/install/verify-install/">Verifying your installation</a></li>
<li class="toctree-l3"><a class="reference internal" href="https://docs.anaconda.com/anaconda/install/hashes/">Anaconda installer file hashes</a></li>
<li class="toctree-l3"><a class="reference internal" href="https://docs.anaconda.com/anaconda/install/update-version/">Updating from older versions</a></li>
<li class="toctree-l3"><a class="reference internal" href="https://docs.anaconda.com/anaconda/install/uninstall/">Uninstalling Anaconda</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="https://docs.anaconda.com/anaconda/user-guide/">User guide</a></li>
<li class="toctree-l2"><a class="reference internal" href="https://docs.anaconda.com/anaconda/reference/">Reference</a></li>
<li class="toctree-l2"><a class="reference internal" href="https://docs.anaconda.com/anaconda/eula/">End User License Agreement</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="https://docs.anaconda.com/anaconda-cloud/">Anaconda Cloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="https://docs.anaconda.com/archive/">Archive</a></li>
</ul>
<!--#DOCS_SIDEBAR_END--></div>
</aside>
<main class="layout-two-col__first">
<div class="panel-pane pane-node">
<div class="pane-content">
<article class="basic-page">
<!--#DOCS_CONTENT_BEGIN-->
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="installing-on-macos">
<h1>Installing on macOS<a class="headerlink" href="#installing-on-macos" title="Permalink to this headline">¶</a></h1>
<p>You can install Anaconda using either the graphical installer (“wizard”) or the
command line (“manual”) instructions below. If you are unsure, choose the graphical install.</p>
<div class="section" id="macos-graphical-install">
<h2>macOS graphical install<a class="headerlink" href="#macos-graphical-install" title="Permalink to this headline">¶</a></h2>
<ol class="arabic">
<li><p class="first">Download the graphical <a class="reference external" href="https://www.anaconda.com/downloads#macos">macOS installer</a> for your version of Python.</p>
</li>
<li><p class="first">OPTIONAL: <a class="reference internal" href="https://docs.anaconda.com/anaconda/install/hashes/"><span class="doc">Verify data integrity with MD5 or SHA-256</span></a>.
For more information on hashes, see <a class="reference external" href="https://conda.io/projects/conda/en/latest/user-guide/install/download.html#cryptographic-hash-verification">What about cryptographic hash verification?</a>.</p>
</li>
<li><p class="first">Double-click the downloaded file and click continue to start the installation.</p>
</li>
<li><p class="first">Answer the prompts on the Introduction, Read Me, and License screens.</p>
</li>
<li><p class="first">Click the Install button to install Anaconda in your home user directory (recommended):</p>
<div class="figure">
<a class="reference internal image-reference" href="https://docs.anaconda.com/_images/osx-install-type.png"><img alt="../../../_images/osx-install-type.png" src="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/osx-install-type.png" style="width: 50%;"></a>
</div>
<div class="line-block">
<div class="line"><br></div>
</div>
</li>
<li><p class="first">OR, click the Change Install Location button to install in another location (not recommended).</p>
<p>On the Destination Select screen, select Install for me only.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">If you get the error message “You cannot install Anaconda in this location,” reselect Install for me only.</p>
</div>
<div class="figure">
<a class="reference internal image-reference" href="https://docs.anaconda.com/_images/osx-install-destination.png"><img alt="../../../_images/osx-install-destination.png" src="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/osx-install-destination.png" style="width: 50%;"></a>
</div>
<div class="line-block">
<div class="line"><br></div>
</div>
</li>
<li><p class="first">Click the continue button.</p>
</li>
<li><p class="first">Optional: To install PyCharm for Anaconda, click on the link to <a class="reference external" href="https://www.anaconda.com/pycharm">https://www.anaconda.com/pycharm</a>.</p>
<div class="figure">
<a class="reference internal image-reference" href="https://docs.anaconda.com/_images/osx-install-pycharm.png"><img alt="../../../_images/osx-install-pycharm.png" src="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/osx-install-pycharm.png" style="width: 50%;"></a>
</div>
<div class="line-block">
<div class="line"><br></div>
</div>
<p>Or to install Anaconda without PyCharm, click the Continue button.</p>
</li>
<li><p class="first">A successful installation displays the following screen:</p>
<div class="figure">
<a class="reference internal image-reference" href="https://docs.anaconda.com/_images/osx-install-success.png"><img alt="../../../_images/osx-install-success.png" src="Installing%20on%20macOS%20%E2%80%94%20Anaconda%202.0%20documentation_files/osx-install-success.png" style="width: 50%;"></a>
</div>
<div class="line-block">
<div class="line"><br></div>
</div>
</li>
<li><p class="first">After your install is complete, verify it by opening Anaconda Navigator, a
program that is included with Anaconda: from Launchpad, select
Anaconda Navigator. If Navigator opens, you have successfully
installed Anaconda. If not, check that you completed each step above, then
see our <a class="reference internal" href="https://docs.anaconda.com/anaconda/reference/help-support/"><span class="doc">Help page</span></a>.</p>
</li>
</ol>
<div class="admonition tip">
<p class="first admonition-title">Tip</p>
<p class="last">For more information about using Anaconda-Navigator,
see <a class="reference internal" href="https://docs.anaconda.com/anaconda/navigator/"><span class="doc">Navigator</span></a>.</p>
</div>
</div>
<div class="section" id="using-the-command-line-install">
<h2>Using the command-line install<a class="headerlink" href="#using-the-command-line-install" title="Permalink to this headline">¶</a></h2>
<p>Use this method if you prefer to use a terminal window.</p>
<ol class="arabic">
<li><p class="first">In your browser, download the command-line version of the
<a class="reference external" href="https://www.anaconda.com/downloads#macos">macOS installer</a> for your system.</p>
</li>
<li><p class="first">OPTIONAL: <a class="reference internal" href="https://docs.anaconda.com/anaconda/install/hashes/"><span class="doc">Verify data integrity with MD5 or SHA-256</span></a>.
For more information on hashes, see <a class="reference external" href="https://conda.io/projects/conda/en/latest/user-guide/install/download.html#cryptographic-hash-verification">What about cryptographic hash verification?</a></p>
</li>
<li><p class="first">Install for Python 3.7 or 2.7:</p>
<ul>
<li><p class="first">For Python 3.7 enter the following:</p>
<div class="highlight-default notranslate">
<!--
<div class="highlight horizontal-only scroll-pane" style="overflow: hidden; padding: 0px; width: 710px;">
<div class="jspContainer" style="width: 710px; height: 44px;">
-->
<div class="jspPane" style="padding: 0px; top: 0px; left: 0px; width: 710px;"><pre><span></span><span class="n">bash</span> <span class="o">~/</span><span class="n">Downloads</span><span class="o">/</span><span class="n">Anaconda3</span><span class="o">-</span><span class="mf">2019.03</span><span class="o">-</span><span class="n">MacOSX</span><span class="o">-</span><span class="n">x86_64</span><span class="o">.</span><span class="n">sh</span>
</pre>
</div>
<!--
</div>
</div>
-->
</div>
</li>
<li><p class="first">For Python 2.7, open the Terminal.app or iTerm2 terminal application and then enter the following:</p>
<div class="highlight-default notranslate">
<!--
<div class="highlight horizontal-only scroll-pane" style="overflow: hidden; padding: 0px; width: 710px;">
<div class="jspContainer" style="width: 710px; height: 44px;">
-->
<div class="jspPane" style="padding: 0px; top: 0px; left: 0px; width: 710px;"><pre><span></span><span class="n">bash</span> <span class="o">~/</span><span class="n">Downloads</span><span class="o">/</span><span class="n">Anaconda2</span><span class="o">-</span><span class="mf">2019.03</span><span class="o">-</span><span class="n">MacOSX</span><span class="o">-</span><span class="n">x86_64</span><span class="o">.</span><span class="n">pkg</span>
</pre>
</div>
<!--
</div>
</div>
-->
</div>
</li>
</ul>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">Include the <code class="docutils literal notranslate"><span class="pre">bash</span></code> command regardless of whether or not you are using the Bash shell.</p>
</div>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">Replace <code class="docutils literal notranslate"><span class="pre">~/Downloads</span></code> with your actual path and <code class="docutils literal notranslate"><span class="pre">Anaconda3-2019.03-MacOSX-x86_64.sh</span></code> with actual name of the file you downloaded.</p>
</div>
</li>
<li><p class="first">The installer prompts “In order to continue the installation process, please review the license agreement.”
Click Enter to view license terms.</p>
</li>
<li><p class="first">Scroll to the bottom of the license terms and enter yes to agree to them.</p>
</li>
<li><p class="first">The installer prompts you to Press Enter to confirm
the location, Press CTRL-C to cancel the installation
or specify an alternate installation directory. If you accept the
default install location, the installer
displays “PREFIX=/home/<user>/anaconda<2 or 3>” and
continues the installation. It may take a few minutes to complete.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">We recommend you accept the default install location. Do not choose the path as /usr for the
Anaconda/Miniconda installation.</p>
</div>
</li>
<li><p class="first">The installer prompts “Do you wish the installer to initialize Anaconda3
by running conda init?” We recommend “yes”.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">If you enter “no”, then conda will not modify your shell scripts at all.
In order to initialize after the installation process is done, first run
<code class="docutils literal notranslate"><span class="pre">source</span> <span class="pre"><path</span> <span class="pre">to</span> <span class="pre">conda>/bin/activate</span></code> and then run <code class="docutils literal notranslate"><span class="pre">conda</span> <span class="pre">init</span></code>.</p>
</div>
</li>
<li><p class="first">The installer displays “Thank you for installing Anaconda!”</p>
</li>
<li><p class="first">Optional: The installer describes the partnership between Anaconda and JetBrains and
provides a link to install PyCharm for Anaconda at
<a class="reference external" href="https://www.anaconda.com/pycharm">https://www.anaconda.com/pycharm</a>.</p>
</li>
<li><p class="first">Close and open your terminal window for the Anaconda installation to take effect.</p>
</li>
<li><p class="first">To control whether or not each shell session has the base environment
activated or not, run <code class="docutils literal notranslate"><span class="pre">conda</span> <span class="pre">config</span> <span class="pre">--set</span> <span class="pre">auto_activate_base</span> <span class="pre">False</span>
<span class="pre">or</span> <span class="pre">True</span></code>. To run conda from anywhere without having the base environment
activated by default, use <code class="docutils literal notranslate"><span class="pre">conda</span> <span class="pre">config</span> <span class="pre">--set</span> <span class="pre">auto_activate_base</span> <span class="pre">False</span></code>.
This only works if you have run <code class="docutils literal notranslate"><span class="pre">conda</span> <span class="pre">init</span></code> first.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last"><code class="docutils literal notranslate"><span class="pre">conda</span> <span class="pre">init</span></code> is available in conda versions 4.6.12 and later.</p>
</div>
</li>
<li><p class="first">To verify the installation, see <a class="reference internal" href="https://docs.anaconda.com/anaconda/install/verify-install/"><span class="doc">Verifying your installation</span></a>.</p>
</li>
</ol>
<p>To begin using Anaconda, see <a class="reference internal" href="https://docs.anaconda.com/anaconda/user-guide/getting-started/"><span class="doc">Getting started with Anaconda</span></a>.</p>
</div>
</div>
</div>
</div>
</div>
<!--#DOCS_CONTENT_END-->
</article>
</div>
<div class="topic_nav" style="padding:20px 0">
<a class="btn btn-sm alt1" href="https://docs.anaconda.com/anaconda/install/windows/">« Installing on Windows</a>
<a class="btn btn-sm alt1" href="https://docs.anaconda.com/anaconda/install/linux/">Installing on Linux »</a>
</div>
</div>
</main>
</div>
</div>
</div>
</div>
<footer class="brand-footer">
<div class="content-wrapper">
<div class="bg-dark row show-for-large-up">
<div class="col-lg-4 text-center"><a href="https://docs.anaconda.com/" class="active">Docs Home</a></div>
<div class="col-lg-4 text-center"><a href="https://www.anaconda.com/">Anaconda Home</a></div>
<div class="col-lg-4 text-center"><a href="https://www.anaconda.com/support">More Help & Support</a></div>
</div>
<div class="bg-dark row">
<div class="col-sm-12 small-centered col-md-12 text-center col-lg-12 copyright">
<div class="copyright">
<i class="fa fa-copyright"></i>
<span>2019 Anaconda, Inc. </span>
<br class="hidden-md hidden-lg">
<span>All Rights Reserved. </span>
<br class="hidden-md hidden-lg">
<a href="https://www.anaconda.com/privacy-policy/" target="_blank">Privacy Policy </a>
</div>
</div>
</div>
</div>
</footer>
</div>
</div>
<div class="container containerMeasure" style="opacity:0;pointer-events:none;"></div><div class="all-page-modals"></div><!-- Inserted RTD Footer -->
<div class="injected">
<div class="rst-versions rst-badge" data-toggle="rst-versions">
<span class="rst-current-version" data-toggle="rst-current-version">
<span class="fa fa-book"> </span>
v: latest
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
<dl>
<dt>Downloads</dt>
<dd><a href="https://readthedocs.com/projects/continuumio-docs/downloads/pdf/latest/">PDF</a></dd>
<dd><a href="https://readthedocs.com/projects/continuumio-docs/downloads/htmlzip/latest/">HTML</a></dd>
<dd><a href="https://readthedocs.com/projects/continuumio-docs/downloads/epub/latest/">Epub</a></dd>
</dl>
<dl>
<dt>On GitHub</dt>
<dd>
<a href="https://github.com/ContinuumIO/docs/blob/master/docs/source/anaconda/install/mac-os.rst">View</a>
</dd>
<dd>
<a href="https://github.com/ContinuumIO/docs/edit/master/docs/source/anaconda/install/mac-os.rst">Edit</a>
</dd>
</dl>
<hr>
Documentation hosted by <a href="https://readthedocs.com/">Read the Docs</a>.
</div>
</div>
</div>
</body></html>