Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to use Python virtual environments and pip in this beginner-friendly tutorial. Discover the importance of virtual environments, how to create and manage them, and how to install packages using pip. Explore package management techniques, including installing specific versions, upgrading, and uninstalling packages. Create a requirements file for your project and understand the purpose of .gitignore. Apply your new skills by building a Weather app using a virtual environment, integrating an API, and managing environment variables. Gain practical experience with the Python Package Index (PyPI) and essential development tools.
Syllabus
Intro
Welcome
Getting Started
Installing packages with pip
pip list
Installing a specific package version
Upgrading a package with pip
pip uninstall
Why do we need virtual environments?
Creating a virtual environment
Comparing global & virtual environments
Packages may install other required packages
Python Package Index - PyPI
Creating a requirements file
.gitignore
Weather project
Get a login
API Key and .env file
Get the request URL
Complete the Weather project
Taught by
Dave Gray