AuthorDominic ArchivesCategories |
Back to Blog
Install Anaconda For Mac Continuum Analytics10/18/2021
Anaconda includes the Python programming language and a bunch of different pieces of software that are useful for data science and analysis. The collection is called Anaconda. Anaconda may take a few minutes to download. Type the commands in red to go to the Downloads directory and download Anaconda3 2021.05.We recommend using the Anaconda Python Distribution from Continuum Analytics, which makes it easy to install Glue on MacOS X, Linux, and Windows. This is a different approach when compared to my previous suggestion of installing the libraries manually and working directly with IPython and Python scripts.Using the Anaconda Python Distribution. In essence you download a single installation package, which comes provided with all of the major scientific Python libraries such as IPython, NumPy, SciPy, scikit-learn, pandas and matplotlib as well as an Integrated Development Environment (IDE) that lets you code using a Graphical User Interface (GUI).
![]() Anaconda Continuum Analytics Download Anaconda3 2021![]() ![]() The first hit should be a black Terminal icon. Use the Spotlight option in Mac OSX (the magnifying glass in the top right corner) and type "Terminal" in the dialog box. Once the installation is finished, you'll see the following screen:The installation procedure places a shortcut icon on your Mac OSX desktop:If you click this icon Anaconda will load and present you with the following screen:However, I had trouble attempting to load Spyder at this stage! Hence, I dug out a workaround that allows you to use Spyder directly. You'll notice that Anaconda takes up a reasonable amount of hard disk space (0.75Gb), but this is because it comes with a lot of Python libraries pre-installed. Snes emulator mac and windowsOn the bottom right hand side is an IPython console, which allows you to carry out interactive Python programming.To check that NumPy is installed correctly (a basic sanity check), we can type the following: import numpy as npIf all goes to plan, you should see the following output:And that's it for installing Anaconda and Spyder on Mac OSX! This is a simpler procedure (on Mac!) than the previous Ubuntu installation I mentioned before in this article. To check this, type the following: which pythonThis is the output I received, which shows that Anaconda is the current default Python installation: /Users/mhallsmoore/anaconda/bin/pythonNow you can simply type the following to launch the Spyder IDE: spyderYou will now see the following screen, which is the Spyder IDE:On the left hand pane you have a file editor, while the right hand pane contains an Object Inspector, a Variable Explorer and a File Explorer, which all allow you to see different aspects of your Python code. I've changed the colours on mine to be black with white text, but yours may be white with black text:First we need to check that Anaconda has become the default Python installation.
0 Comments
Read More
Leave a Reply. |