31 July 2025
CE 712: Digital Image Processing for Remotely Sensed Data
Tutorial 2- Part 1
Python Installation
1. Download the Anaconda installer for Python 3.12 or a newer version, matching your operating
system (Windows, macOS, or Linux) from the official Anaconda website
(https://www.anaconda.com/download/success)
2. Run the Installer by double-clicking the downloaded file.
3. Installation Settings:
• Install Anaconda in the default directory suggested by the installer.
• Proceed with the default settings throughout the installation process.
4. Launching Anaconda Prompt or Terminal
• Windows users: Search for Anaconda prompt in the start menu and open it.
• macOS/Linux Users: Open a Terminal window from your applications or system menu.
5. Create a new Environment for your python project:
Type the command below and press Enter to create your new environment.
conda create --name dip_tutorial
6. For accepting the terms of service: press a and Enter
For giving confirmation: press y and Enter
7. Now that the environment (dip_tutorial) is created, activate it by typing the following command and
press Enter:
conda activate dip_tutorial
8. Now that your environment is active, you're ready to install the necessary packages using the conda
install command. We'll start by installing Jupyter Notebook.
Enter the following command and press Enter:
conda install --channel conda-forge jupyter notebook -y
9. If the installation completes successfully, you’ll see a confirmation message similar to the one shown
below.
10. We can now install other required packages for this class. Run the command below to install geopandas
and matplotlib packages.
conda install --channel conda-forge geopandas matplotlib -y
11. After the command finishes executing, you should see an output screen similar to the one shown
below.
12. Your Python environment is now set up and ready to use. To launch Jupyter Notebook, enter the
command below.
Jupyter notebook
13. This will start a local server on your system and automatically open Jupyter Notebook in your default
web browser.
Note: Keep the Anaconda Prompt open while using Jupyter Notebook. Closing it will stop the local
server, and Jupyter Notebook will no longer be accessible.
14. Click on 'New' and select 'Python 3 (pykernel).
This will open a Jupyter Notebook, where you can type your code into a cell and execute it.
No submission required for this tutorial.