Wether you arrive here by chance, or you need to install Python for our Python/ML classes @ DI; here is a solution for you. As in classes we use Jupyter notebooks, the easiest way to have all data packages + jupyter is downloading Anaconda Python, which is a mega dist with python and all the batteries included.
- If you come from mac, go to https://www.anaconda.com/download and click as the image shows:
- Click in Download and select your Mac Architecture, in my case, Intel.
- This will download a
.pkg
file, just download it and execute it
- It will prompt you if you trust it and if you want to run it. Click Allow:
- Aggree to the terms and conditions:
- Follow the instructions, and click Install
- After finishing, click continue
- At the end, move to Bin the installer:
- Open the
Anaconda Navigator
app. It should ook like the following:
Hin: If by any means you get an error, add the following to your ~/.bashrc
or ~/.zshrc
:
export PATH=~/anaconda3/bin:$PATH
- Launch the Jupyter Notebook button, it should look like this:
- If you come from Windows, go to https://www.anaconda.com/download and click as the image shows:
- Save the executable (.exe)
- Run the installer
- Click Next and go thorugh the installer
- Just install for yourself so Python doesn't need admin privilages afterwards
- This is the most crucial step, click the button to add anaconda to your PATH, that way you can run commands promt commands as well and have an effective session
- After finishing, click Next
- Open the
Anaconda Navigator
app from the windows menu. It should look like the following:
- Launch the Jupyter Notebook button:
- It should look like this: