0% found this document useful (0 votes)
17 views2 pages

Lesson 1

This document provides a step-by-step guide for installing Python 3 using Miniconda on macOS. It includes instructions for opening the terminal, downloading and running the Miniconda installer, creating a new Python environment, and launching Jupyter Notebook. The guide ensures users can set up their Python environment without compilation tasks, specifically for Apple silicon users.

Uploaded by

yaeljuma34
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views2 pages

Lesson 1

This document provides a step-by-step guide for installing Python 3 using Miniconda on macOS. It includes instructions for opening the terminal, downloading and running the Miniconda installer, creating a new Python environment, and launching Jupyter Notebook. The guide ensures users can set up their Python environment without compilation tasks, specifically for Apple silicon users.

Uploaded by

yaeljuma34
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Lesson 1.

Installation
Python is a programming language created in 1989 by Guido van Rossum, named in honor of
the comedy series Monty Python's Flying Circus. Its first public release was in 1991, and the
current major version is Python 3.

A shell (or terminal) is an interactive command line interface that allows you to communicate
with your computer, in this case, it will be used to run the Python interpreter.

We will install Miniconda 3, a free tool available for macOS which installs Python 3 and
provides an easy way to manage packages and isolated environments for your Python projects,
like that we’ll avoid any compilation task (I guess you have Apple silicon?).

Everything on dark blue, you just have to copy-paste on your terminal

Miniconda installation.

1.Open Terminal

Press Command (⌘) + Space, type Terminal, and click Enter.

2.Download the installer

curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh

3.Run the installer

bash Miniconda3-latest-MacOSX-arm64.sh

• Press Return to read the license.


• Type yes and press Return to accept the license.
• Press Return to install in the default directory (recommended).
• When asked “Do you wish the installer to initialize Miniconda3?”, type:

yes

4. Reload your shell

source ~/.zshrc

If you're using bash instead of zsh, run:

source ~/.bash_profile
5. Test Conda is working

conda --version

You should see something like:


conda 24.3.0 (version may vary)

Create Python Environment

6. Create a new environment called Bence:

conda create -n bence python=3.11 numpy pandas jupyter -y

7. Activate the environment:

conda activate bence

You should now see (bence) in your terminal prompt.

7. Launch Jupyter Notebook

In your activated environment, run:

jupyter notebook

• Your default web browser will open with the Jupyter interface.

• From there, click "New" → "Python 3" to create a new notebook.

You might also like