Editing OSX set up Python (Anaconda)
From CommunityData
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== Download and install Python == | == Download and install Python == | ||
We're going to be installing Python using a software | We're going to be installing Python using a collection of software that includes Python that, as a collection, is called '''Anaconda'''. Anaconda includes the Python programming language and a bunch of different pieces of software that are useful for data science and analysis. Although the collection includes all free software, it is put together by a commercial company called '''Continuum Analytics'''. | ||
'''Note:''' Even if you already have a version of Python on your computer, we suggest you follow these instructions and download Anaconda. This will help ensure that you can follow along during our in-class activities, and will make it easier for mentors to help you if you get stuck on something. | '''Note:''' Even if you already have a version of Python on your computer, we suggest you follow these instructions and download Anaconda. This will help ensure that you can follow along during our in-class activities, and will make it easier for mentors to help you if you get stuck on something. | ||
=== | === Installation option #1 === | ||
<font size="+1">Try to download | <font size="+1">Try to download and install Anaconda from [https://communitydata.science/~mako/Anaconda3-2019.10-MacOSX-x86_64.pkg this file which contains Python 3.7 for OSX].</font> | ||
=== Installation option #2 === | |||
If option 1 above doesn't work for any reason, download and install the Python 3.7 option from [https://www.anaconda.com/distribution/#download-section Anaconda's website], on the right. If necessary, scroll down to the "Anaconda 2019.10 for macOS Installer" section. | |||
=== | |||
If option 1 above doesn't work for any reason, download the Python 3. | |||
<gallery> | <gallery> | ||
Line 26: | Line 17: | ||
file:Macos-anaconda-auth.png|You may be prompted for your password|alt=Package Installer prompting the user for a password | file:Macos-anaconda-auth.png|You may be prompted for your password|alt=Package Installer prompting the user for a password | ||
File:Macos-anaconda-installing.png|Package Installer will install Anaconda3|alt=Package installer showing progress through the installation | File:Macos-anaconda-installing.png|Package Installer will install Anaconda3|alt=Package installer showing progress through the installation | ||
</gallery> | </gallery> | ||
Line 38: | Line 30: | ||
== Test your Python install == | == Test your Python install == | ||
To use Anaconda on MacOS, you will primarily use the Anaconda Navigator | To use Anaconda on MacOS, you will primarily use the Anaconda Navigator. This software helps manage multiple versions of Anaconda, as well as helps make it easy to launch Jupyter. | ||
The easiest way to launch the Anaconda Navigator is from inside the Applications folder: | The easiest way to launch the Anaconda Navigator is from inside the Applications folder: | ||
Line 48: | Line 40: | ||
[[File:Macos-anaconda-nav-hub.png|frameless|400px]] | [[File:Macos-anaconda-nav-hub.png|frameless|400px]] | ||
rest {{tbd}} | |||
== Success! == | == Success! == | ||
You have | You have tested your Python installation. | ||
[[Category:CDSW]] | [[Category:CDSW]] |