Prerequisite: Python Language Introduction Before we start with how to install pip for Python on macOS, let’s first go through the basic introduction to Python. Python is a widely-used general-purpose, high-level programming language. Install Anaconda On Linux, Windows, MacOS. The anaconda installation is very simple and straight forward. The installation process on all the three platform is very similar. But before that you should download anaconda for your OS platform first. After that follow below steps to install it on different OS platform.
- Anaconda Python Mac
- Install Anaconda Mac Os
- Anaconda Download Mac Os Catalina Safari
- Update Anaconda Mac
- Anaconda Mac Download
- The Mac OS X Anaconda installation comes only in one form: 64-bit. Before you can perform the install, you must download a copy of the Mac software from the Continuum Analytics site. The following steps help you install Anaconda 64-bit on a Mac system.
- Since the release of macOS 10.14 Mojave, Apple has included a new security feature that ensures third-party applications protect your data. Practically speaking, this means that you have to manually grant access to your apps in order to let them work with the user`s files.
- The Homebrew project provides a free and open source package manager for macOS that many people rely on. It gives Apple users a power similar to apt-get or yum. If you are a Homebrew user, you may already have Python installed.
Original article can be found here (source): Artificial Intelligence on Medium
In my previous blog , I walked you through all steps to run a jupyter notebook. If you’re a data scientist or developer and upgraded to macOS Catalina 10.15, then you might have faced some issues with jupyter notebook.The latest version of Mac Catalina functionality is different than the previous s version. Follow below steps to configure and run jupyter notebook.
We will go through each step one by one configure jupyter notebook.
Step I : Install the anaconda distribution.
Anaconda Python Mac
The preferable way to go forward is to use command line installer instead of graphic . Use this link to download CLI https://repo.anaconda.com/archive/Anaconda3-2020.02-MacOSX-x86_64.sh
Once downloaded ,go to terminal and run
I will be using python3 as python2 is not much in use now a days.
To start the installation run below command in your terminal.
Instead of Downloads use the path where you have install anaconda distribution and replace Anaconda3–2020.02-MacOSX-x86_64.sh with your filename.
You need to press Enter here ,
![Catalina Catalina](/uploads/1/2/9/4/129403041/647363022.jpg)
Read the license agreement and scroll to bottom
Enter yes. Next it will ask for location to install.
Press Enter .
Once you press enter , message props “Do you wish the installer to initialize Anaconda3 by running conda init?”
Enter Yes
The default shell for Catalina is zsh so our next step will be to install Zsh
Step II :Set-up macOs Terminal with Zsh
For Catalina
Install Anaconda Mac Os
First set-up Xcode command-line tools, also known as
xcode-select
If there is some issue try running below script.
Then you need to install software package management system for macOS i.e Homebrew.
Run the below command
Next step is to install default shell for Catalina ,i.e zsh.
Now we need to integrate zsh in iterm2. If you are not having iterm2 ,install it using brew.
For zsh — iterm2 integration ,
Step III :Conda ,Pip and Jupyter installation
Conda can be installed using brew
Update conda to latest version
For pip you can either use conda or easy install
Conda way
Easy install way
For nbextensions run following command
Lastly for jupyter use brew
Step IV :Creating Virtual environment and link it to ipykernel
To create a virtual environment pass the name of environment with python version to be used. Suppose we name our environment as cat and want to use python 3.8.2 version.
Activate the environment
Install ipykernel
Link kernel to virtual environment.
Anaconda Download Mac Os Catalina Safari
If you want to display the name of environment say “Cat_Virtual”
Update Anaconda Mac
Go to iterm2 and run
Open any notebook , it will appear like this,
Anaconda Mac Download
Enjoy ? !!