Skip to Content
Using Amazon Bedrock
book

Using Amazon Bedrock

by Renaldi Gondosubroto
November 2025
Intermediate to advanced
480 pages
13h 28m
English
Wiley
Content preview from Using Amazon Bedrock

APPENDIX BInstalling Python, Jupyter Notebook, and LangChain

This appendix will cover the steps of installing Python, Jupyter Notebook, and LangChain.

Installing Python

Windows

  1. Go to the Python Downloads page: www.python.org/downloads.
  2. You should see a yellow button labeled something like Download Python 3.X.X (the X.X represents the current version number). Click this button to download the EXE file.
  3. Locate the downloaded file in your Downloads folder (or wherever your browser saves files). Double-click the Python EXE file to launch the installer.
  4. On the first screen, select the option Add Python 3.X To PATH. This makes it easier to run Python from any command prompt window.
  5. After ensuring the PATH option is selected, click Install Now.
  6. Once installation completes, open the command prompt (type cmd in the Windows search bar and press Enter). Then type python --version. You should see something like Python 3.X.X confirming that Python is installed and recognized by your system.

macOS

  1. Many macOS versions come with Python 2.x preinstalled. To confirm, open Terminal (search for Terminal in Spotlight).
  2. Type the command python3 --version. If you see Python 3.X.X, you may already have a recent version. If not, proceed to download a newer version.
  3. Go to www.python.org/downloads.
  4. Click the Download Python 3.X.X button for macOS. This will download a PKG file.
  5. Double-click the downloaded PKG file to open it.
  6. Follow the onscreen instructions to install Python 3. Click through ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Generative AI with Amazon Bedrock

Generative AI with Amazon Bedrock

Shikhar Kwatra, Bunny Kaushik
Terraform Cookbook

Terraform Cookbook

Kerim Satirli, Taylor Dolezal

Publisher Resources

ISBN: 9781394382620