Download Anaconda 3 2020.02 for Mac from FileHorse. 100% Safe and Secure The World`s Most Popular Python/R Data Science Platform for macOS! May 11, 2019.
-
Download the installer:
-
Miniconda installer for macOS.
-
Anaconda installer for macOS.
-
-
Verify your installer hashes.
-
-
Miniconda---In your terminal window, run:
-
Anaconda---Double-click the
.pkg
file.
-
-
Follow the prompts on the installer screens.If you are unsure about any setting, accept the defaults. Youcan change them later.
-
To make the changes take effect, close and then re-open yourterminal window.
-
Test your installation. In your terminal window orAnaconda Prompt, run the command
condalist
. A list of installed packages appearsif it has been installed correctly.
Installing in silent mode¶
Note
The following instructions are for Miniconda. For Anaconda,substitute
Anaconda
for Miniconda
in all of the commands.
To run the silent installation ofMiniconda for macOS or Linux, specify the -b and -p arguments ofthe bash installer. The following arguments are supported:
-
-b---Batch mode with no PATH modifications to
~/.bashrc
.Assumes that you agree to the license agreement. Does not editthe.bashrc
or.bash_profile
files. -
-p---Installation prefix/path.
-
-f---Force installation even if prefix -p already exists.
EXAMPLE:
The installer prompts “Do you wish the installer to initialize Miniconda3 by running
condainit
?” We recommend “yes”.
Note
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
source<pathtoconda>/bin/activate
and then run condainit
.
MacOS Catalina
If you are on macOS Catalina, the new default shell is zsh. You will instead need to run
source<pathtoconda>/bin/activate
followed by condainitzsh
.
Updating Anaconda or Miniconda¶
-
Open a terminal window.
-
Navigate to the
anaconda
directory. -
Run
condaupdateconda
.
Uninstalling Anaconda or Miniconda¶
-
Open a terminal window.
-
Remove the entire Miniconda install directory with:
-
OPTIONAL: Edit
~/.bash_profile
to remove the Minicondadirectory from your PATH environment variable. -
Remove the following hidden file and folders that may havebeen created in the home directory:
-
.condarc
file -
.conda
directory -
.continuum
directory
By running: -
Python comes in several shapes and sizes. To make sure that everything worksproperly, we require that every single person in the course use the sameversion of Python. You are free to either work in the ACCEL labs or to useyour laptop; but whatever the case, your version of Python must be the same aswhat we are using in the labs. Hence, even if you already have Pythoninstalled on your computer, we ask that you install a new version (seeinstructions below) so you can be consistent with everyone else.
As you will see, these instructions are a bit long. Installing Python is oftenmuch more complicated than simply using it. As many people in this class havenot programmed before, we have tried to make installation as simple as possiblevia step-by-step, 'do this, do that' instructions. This is not what the restof the course is like. You are not expected to understand what many of these steps are doing.Furthermore, these instructions are lengthy mainly because we are trying tosupport as many operating systems as possible. In practice, you should be ableto finish the installation in 15-20 minutes.
If you have problems, and if you have a laptop, the best thing to do is to bringit in to someone to look at. Any of thecourse staff or consultants can helpyou with this. If you cannot bring in your computer, we have provided you with someinstructions below. If you are having difficulty with these instructions, pleaseemail TA Molly Feldman <[email protected]>.
Table of Contents
- Testing Your Basic Anaconda Install [Tests 2(a), 2(b), 2(c)]
Installing Python
While installing the base Python package is usually straight-forward, getting add-onsfor Python can be a bit tricky. For that reason, we have tried to simplify this processinto as few steps as possible. First you need to install Python. We have decided tostandardize on the Anaconda version of Python.This is a free version of Python that is quickly becoming standard on this campus.You may find yourself using Python in departments outside of computer science, and theyalmost all use Anaconda.
Important Note About Past Semesters
In previous semesters, we used ActiveState Python instead. That version of Python conflictswith Anaconda. If you have installed this version of Python for whatever reason, youmust uninstall it before following these instructions. On Windows, this can be a bittricky as there are some hidden files. Please see aconsultant if you needhelp with this.
Installing on Windows
The version of Python that we are using for this class is only compatible with Windows 7,8 or 10. We do not support Vista or XP. We strongly prefer that you use Windows 10, and recommendthat you upgrade now if you have not done so already. If your machine cannot support oneof these versions of Windows, then you will need to work in the ACCEL lab.
For this class, we need to use Python version 2.7. Mac os x usb joystick driver. If you have the 3.3 version ofAnaconda already installed, this may conflict with the installation process below. Inthat case you will either need to remove the old version of Anaconda, or set up aspecial environment for thiscourse.
Install Anaconda for Python2.7 |
Use one of the two links above to install the correct version for your operatingsystem. If you are unsure, download the 32-bit version. The 32-bit version isguaranteed to work on all systems.
The file that you download is an installer app. Simply double click on it and followdirections. At one point in the installer, it will ask you whether you want to installfor yourself or for all users.Select the option 'All Users (requires admin privileges)', as shown below.
On the next page it will ask you what directory you want to install in. By default,it will install in
C:Anaconda2
. Leave this alone and click Next.
Finally, you will see a page with check boxes talking about your Path. Leave thesecheck-boxes alone and complete the installation.
Now move on to testing your Python install!
Installing on Macintosh
The version of Python that we are using for this class is only compatible with Mavericks(10.9) or higher. If you have an older version of OS X, we recommend that you upgradeto El Capitan (10.11) or Sierra (10.12) immediately. Otherwise, you will have to work in the ACCEL labfor the semester.
For this class, we need to use Python version 2.7. If you have the 3.3 version ofAnaconda already installed, this may conflict with the installation process below. Inthat case you will either need to remove the old version of Anaconda, or set up aspecial environment for thiscourse.
![Mac Mac](/uploads/1/2/6/7/126765376/288024889.png)
Install Anaconda for Python2.7 |
Use the link above to install. The file that youdownload is an installer app. Double click on it (in Chrome you may have to click 'Keep' to accept this as a 3rd party download)and follow directions.
When you get to the 'Installation Type' tab, you will see the following screen:
Click on 'Change Install Location' and then select the hard drive below the house (i.e. 'Install on a specific disk..')as shown below:
On the next page make sure to select your main hard drive, if you have more than one (your main hard drive is usually called 'Macintosh HD'). Thenselect 'Choose Folder' to choose where to install Anaconda. You should put it in your Applications folder (very important).
Once this is done, you can then press 'Continue' and proceed with the rest of the installer. It may take a couple of minutesfor the full download to complete. Once it is complete, move on to testing your Python install!
Installing on Linux
Linux installation is possible, but it is not as straight-forward as the two mainOS options. In particular, to install on Linux, you have to be comfortable withcommand shell and be ready to install files with a packageinstaller. If this sounds daunting to you, you might want to rethink about whetheryou want to use Linux just yet.
For this class, we need to use Python version 2.7. If you have the 3.3 version ofAnaconda already installed, this may conflict with the installation process below. Inthat case you will either need to remove the old version of Anaconda, or set up aspecial environment for thiscourse.
In the past, we have had install parties for Linux users. We have worked to makethe instructions more self-sufficient this year. However, if there is still demandfor a Linux install party, post your request onPiazza.
Install Anaconda for Python2.7 |
Anaconda Install Mac
Use one of the two links above to install the correct version for your operatingsystem. If you are unsure, download the 32-bit version. The 32-bit version isguaranteed to work on all systems.
This is not graphical installer. To install it, you must navigate to the folderwith the downloaded file and run it with bash. For example, if you downloadedthe 64-bit version, you would type
You must use the 'bash' command even if you are not using the bash shell.
Mac Anaconda Download
2. Testing Your Basic Anaconda Install
Now that you have installed Anaconda, it is a good idea to test the installation out, using the command shell for your OS. The command shell is a text-based version of the Windows Explorer or Finder; you can use it to move and rename files and folders. It is also how we will runPython in this class.
Using the command shell requires a bit of practice, so we have created a separate page of instructions for this. But for right now, all you need to learn from that page is how to start up the command shell for your OS.
Test 2(a): can your system find any sort of Python?
Open a command shell window. Then, type
(and hit return). This should put you in the 'Python Interactive Shell'; you can tell this succeeded because a Python 'banner' message will be printed out.
If instead you get some sort of error message suggesting that python could not be found, first reboot and try Test 2(a) again.
If you still get this kind of error message after rebooting, record the following information in order to report your problem.
- The precise wording of the error messages you got. Copy-and-paste is best.
- Mac and Linux users: what is the exact output when you type exactly the following at the prompt?
- Windows users: what is the 'path' environment variable set to? Here's a page that explains how to find out on Windows 7 and 8; Windows 10 should be similar.
Test 2(b): does the 'banner' mention 'Anaconda' and a version number of the form 2.7.x?
The red highlight below shows what we're looking for.
If this test fails, your system is running the wrong python for this class.
First, try rebooting, and run Test 2(a) and Test 2(b) again.
If you still aren't getting Anaconda, record the following information in order to report your problem:
- The precise wording of the 'banner' that you see. Copy-and-paste is best.
- Windows users: what is the 'path' environment variable set to? Here's a page that explains how to find out on Windows 7 and 8; Windows 10 should be similar.
- Mac and Linux users: what is the exact output when you type exactly the following at the prompt?
If the output is something where the words '/usr/bin
' (which is the directory where Mac's default python is) occurs before/Applications/anaconda/bin
(which is where Anaconda is), then we need to explicitly tell your system to look for Python where Anaconda was installed. Please contact a consultant for help.
Test 2(c): can you interact with the Python Interactive Shell without it immediately crashing?
The > > > symbols are the prompt. To get the shell to do something, just type a Python command. For example, type
and hit Return (do not type the > > >; it is already there).
If anything other than the appearance of the numeral '2' happens, record the precise output, even if it's a very long error message (copy-and-paste is best) to report the problem to us.
Otherwise, you have a working installation of Anaconda.
To exit the Python Interactive Shell, type
quit()
or exit()
and hit Return. You can also exit by typing Control-D(that is, hold down the control key and then hit the D key).
Installing Komodo Edit |
Download Anaconda 2.7 Mac Torrent
The last program to install is Komodo Edit.Unlike Python, you will not use this program right away; we will not start to use it untilthe second week of class.
Technically, you can write Python modules in any text editor (e.g. a Word processor thatonly produces text and does not have fonts or fancy formatting). NotePad and WordPad aretext editors in Windows, while TextEdit is provided by OS X. The reason we use KomodoEdit is that it is the same across all platforms. That allows you to collaboratewith partners who might be working on other operating systems. Some people preferSublime Text, but that program is not free.
To install Komodo Edit, click the button above to take you to ActiveState's website.You will see a grey 'Download Komodo Edit 10.1.4' button. Click on that button. Do not clickon the red 'Try Now' button; that brings you to a different product.
You may be taken to a page asking you to evangelize. By making you use this software, we arealready evangelizing, so just click 'Just let me download your software' to start thedownload. You will be asked for an e-mail address but you do not have to give it.
The file that you download will either be a MSI installer for Windows or a DMG forMacintosh. Double click on it and follow directions.
Configuring Preferences
One of the most controversial aspects of Python is that it treats spaces and tabs verydifferently. If you accidentally put a tab in your program, it will cause your programwill crash. And you will have a hard time finding it because both tabs and spaces lookexactly the same.
Most of the time, this is not a problem. Komodo does not actually put tabs in programs.Every time you hit the Tab key, it will automatically covert it into 4 spaces. However,if you have a partner using another program (like Sublime Text), they might put a tabin the file.
To make sure that you never get any stray tabs, you need to change your preferences tohelp you distinguish between the two. Open Komodo Edit and then select thePreferences menu option (under Edit on Windows in the Menu in the top right corner; under Komodo onMacintosh). Choose the Editor category and check the boxShow whitespace characters, as shown below.
This will allow you to see both tabs and spaces, and to tell the difference between both.Spaces will look like light dots which are centered vertically on each line. Tabs willlook like black arrows. Acs driver download for mac. These are illustrated in the examples below.
Download Anaconda 3.7
Python with Tabs (Bad) | Spaces Only (Good) |
4. Opening and Saving Files Using Komodo Edit
We recommend that you interact with Python modules during the semester throughKomodo Edit. Although the Mac and Windows versions are basically the same, weseparate the instructions below by OS for maximum clarity.
On a Mac
If you do not have a file already open in Komodo Edit, the easiest way to openone is clicking 'Open File' from the start page.
For Lab 02 in particular, you then want to navigate to the 'lab02' folderon your Desktop and select greetings.py as below:
Once you have successfully opened the file it should like this:
If you have a file already open in Komodo Edit (or just want another method!),you can open another file either by selecting it from the Menu under 'File-Open' or using the keyboard shortcut'⌘O' (Apple Command + O):This should bring you to the same correct page as above.
Manual backup iphone to mac. What about saving files after you've made changes? If you made a change(for instance, adding your name and NetID) you will see that the filename nowhas an asterisk (i.e. the * symbol) following it, as show below:
To save, you can either press the save symbol or press '⌘S' (Apple Command + S):
If the save was successful, the asterisk will have been removed and the filenamewill appear as normal:
On Windows
If you do not have a file already open in Komodo Edit, the easiest way to openone is clicking 'Open File' from the start page.
For Lab 02 in particular, you then want to navigate to the 'lab02' folderon your Desktop and select greetings.py as below:
Once you have successfully opened the file it should like this:
If you have a file already open in Komodo Edit (or just want another method!),you can open another file either by selecting it from the Menu under 'Open-File' or using the keyboard shortcut'Ctrl + O':
This should bring you to the same correct page as above.
What about saving files after you've made changes? If you made a change(for instance, adding your name and NetID) you will see that the filename nowhas an asterisk (i.e. the * symbol) following it, as show below: How to download a free font on mac.
To save, you can either press the save symbol or press 'Ctrl + S':
If the save was successful, the asterisk will have been removed and the filenamewill appear as normal: