- Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

In this Python Programming Tutorial, we will be learning how to use virtual environments on the Mac and Linux operating systems with the built-in venv module. We will learn how to create them, activate them, remove them, and much more. Let's get started...

VENV (Windows) - https://youtu.be/APOPm...
In this Python Programming Tutorial, we will be learning how to use virtual environments on the Mac and Linux operating systems with the built-in venv module. We will learn how to create them, activate them, remove them, and much more. Let's get started...

VENV (Windows) - https://youtu.be/APOPm01BVrk

✅ Support My Channel Through Patreon:
https://www.patreon.com/coreyms

✅ Become a Channel Member:
https://www.youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g/join

✅ One-Time Contribution Through PayPal:
https://goo.gl/649HFY

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist
http://a.co/inIyro1

✅ Equipment I Use and Books I Recommend:
https://www.amazon.com/shop/coreyschafer

▶️ You Can Find Me On:
My Website - http://coreyms.com/
My Second Channel - https://www.youtube.com/c/coreymschafer
Facebook - https://www.facebook.com/CoreyMSchafer
Twitter -
Instagram - https://www.instagram.com/coreymschafer/

#Python #venv

#python #python venv #python virtual environment #virtual environment #virtual environments #python virtualenv #python packages #python tutorial #venv #virtualenv #python 3 #corey schafer #python package #python programming #python tutorials
why virtual environmentto have a space where we can install packages specific to a certain project - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

why virtual environmentto have a space where we can install packages specific to a certain project

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:00:48 - 00:00:57
example for updating from Django 1 to Django 2 - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

example for updating from Django 1 to Django 2

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:00:57 - 00:01:22
each project should have its own packages separate from each other - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

each project should have its own packages separate from each other

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:01:22 - 00:01:34
demo: need *Python 3.3 or higher* - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

demo: need *Python 3.3 or higher*

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:01:34 - 00:02:05
pip3 list - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

pip3 list

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:02:05 - 00:02:51
create a new virtual environment - 2:57 *python3 -m venv project_env* (project_env is the name of the project to be initialized) - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

create a new virtual environment - 2:57 *python3 -m venv project_env* (project_env is the name of the project to be initialized)

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:02:51 - 00:03:42
activate the created virtual environment - 3:45 *source* project_env/bin/activate - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

activate the created virtual environment - 3:45 *source* project_env/bin/activate

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:03:42 - 00:05:34
For those folks (like me) using the fish shell, at around the  mark you'll need to enter *source py3env/bin/**activate.fish* in the terminal otherwise you'll most likely get an error  like this: - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

For those folks (like me) using the fish shell, at around the mark you'll need to enter *source py3env/bin/**activate.fish* in the terminal otherwise you'll most likely get an error like this:

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:03:50 - 00:14:18
If you need to use a different version of python - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

If you need to use a different version of python

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:04:28 - 00:05:40
if other wants to export the packages that are used 5:39 *requirement.txt* - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

if other wants to export the packages that are used 5:39 *requirement.txt*

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:05:34 - 00:05:56
Exporting packages from your environment with requirements.txt
 file - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

Exporting packages from your environment with requirements.txt file

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:05:40 - 00:08:25
*pip freeze* - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

*pip freeze*

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:05:56 - 00:06:25
in Linux: *pip freeze > requirements.txt* - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

in Linux: *pip freeze > requirements.txt*

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:06:25 - 00:06:55
deactivate the project - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

deactivate the project

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:06:55 - 00:07:43
Creating a new virtual environment (Best practice) - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

Creating a new virtual environment (Best practice)

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:07:22 - 00:04:28
*** normal practice of using venv* - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

*** normal practice of using venv*

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:07:43 - 00:08:24
use of the created requirements.txt - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

use of the created requirements.txt

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:08:24 - 00:08:35
Creating a virtual environment from a requirements.txt file - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

Creating a virtual environment from a requirements.txt file

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:08:25 - 00:10:30
*pip install -r requirements.txt* - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

*pip install -r requirements.txt*

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:08:35 - 00:09:04
one thing to mention: *it is common to put virtual environment inside your project folder, but you don't want to put project files into your virtual environment* - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

one thing to mention: *it is common to put virtual environment inside your project folder, but you don't want to put project files into your virtual environment*

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:09:04 - 00:10:01
you shouldn't commit your virtual environment to your source control - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

you shouldn't commit your virtual environment to your source control

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:10:01 - 00:10:16
what should be committed in version control: your requirements.txt - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

what should be committed in version control: your requirements.txt

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:10:16 - 00:10:38
Deactivating environment - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

Deactivating environment

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:10:30 - 00:11:00
how to create an environment with access to system-packages - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

how to create an environment with access to system-packages

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:10:38 - 00:11:29
Creating a virtual environment containing all system packages - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

Creating a virtual environment containing all system packages

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:11:00 - 00:12:35
--system-site-packages - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

--system-site-packages

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:11:29 - 00:12:08
the additional packages installed in this environment won't affect the system packages - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

the additional packages installed in this environment won't affect the system packages

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:12:08 - 00:12:35
Listing packages you've installed within the environment (not system packages) - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

Listing packages you've installed within the environment (not system packages)

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:12:35 - 00:14:18
pip list --local - Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module

pip list --local

Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-In venv Module
2019年04月03日 
00:12:35 - 00:14:18

Corey Schafer

※本サイトに掲載されているチャンネル情報や動画情報はYouTube公式のAPIを使って取得・表示しています。

Timetable

動画タイムテーブル

動画数:236件

how to override existing environment variables. (This is new to me) - Python Tutorial: Securely Manage Passwords and API Keys with DotEnv

how to override existing environment variables. (This is new to me)

Python Tutorial: Securely Manage Passwords and API Keys with DotEnv
2024年04月18日  @JorgeEscobarMX 様 
00:10:42 - 00:16:58
the future spoken is my current present. Unless I'm completely desperate, I'm not hitting reddit or google/stack overflow for most roadblocks. - How to Use ChatGPT as a Powerful Tool for Programming

the future spoken is my current present. Unless I'm completely desperate, I'm not hitting reddit or google/stack overflow for most roadblocks.

How to Use ChatGPT as a Powerful Tool for Programming
2023年05月22日  o k t o b e r 様 
00:12:22 - 00:31:08
Good video as always😉  I remember asking that too lol - How to Use ChatGPT as a Powerful Tool for Programming

Good video as always😉 I remember asking that too lol

How to Use ChatGPT as a Powerful Tool for Programming
2023年05月22日  kami 様 
00:28:19 - 00:31:08
@ - pure gold, pure gold! <3 - How to Use ChatGPT as a Powerful Tool for Programming

@ - pure gold, pure gold! <3

How to Use ChatGPT as a Powerful Tool for Programming
2023年05月22日  ulf gjerdingen 様 
00:28:26 - 00:31:08
You almost had me there haha! ChatGPT can be wrong but it certainly wasn't wrong about those top notch resources! I massively appreciate all the uploads and I hope they keep coming supercharged with Chat GPT. Thanks to you, sentdex, techwithtim and Dennis Ivy I now know how to properly code on python, use git for version control and build a functional website. - How to Use ChatGPT as a Powerful Tool for Programming

You almost had me there haha! ChatGPT can be wrong but it certainly wasn't wrong about those top notch resources! I massively appreciate all the uploads and I hope they keep coming supercharged with Chat GPT. Thanks to you, sentdex, techwithtim and Dennis Ivy I now know how to properly code on python, use git for version control and build a functional website.

How to Use ChatGPT as a Powerful Tool for Programming
2023年05月22日  Uj Vag 様 
00:28:42 - 00:31:08
and it's  am here (south east asia), and idk why I'm watching a python tutorial rather than sleeping 😂 - Python Tutorial: Simulate the Powerball Lottery Using Python

and it's am here (south east asia), and idk why I'm watching a python tutorial rather than sleeping 😂

Python Tutorial: Simulate the Powerball Lottery Using Python
2023年01月10日  X 様 
00:02:49 - 00:38:56
… nice… 😂 - Python Tutorial: Simulate the Powerball Lottery Using Python

… nice… 😂

Python Tutorial: Simulate the Powerball Lottery Using Python
2023年01月10日  Bartosz Turkowyd 様 
00:04:50 - 00:38:56
I've seen every Python video you've made....   first innuendo. 😜 - Python Tutorial: Simulate the Powerball Lottery Using Python

I've seen every Python video you've made.... first innuendo. 😜

Python Tutorial: Simulate the Powerball Lottery Using Python
2023年01月10日  Martin Beaudry 様 
00:04:52 - 00:38:56
Man it's  am in India I am lucky to be the first one to hear your voice god bless you brother and an awesome teacher. - Python Tutorial: Simulate the Powerball Lottery Using Python

Man it's am in India I am lucky to be the first one to hear your voice god bless you brother and an awesome teacher.

Python Tutorial: Simulate the Powerball Lottery Using Python
2023年01月10日  Big Samosa 様 
00:12:15 - 00:38:56
# you can also use the built-in pprint module for pretty printing dictionaries ;) - Python Tutorial: Simulate the Powerball Lottery Using Python

# you can also use the built-in pprint module for pretty printing dictionaries ;)

Python Tutorial: Simulate the Powerball Lottery Using Python
2023年01月10日  Schoenling Wunderbar 様 
00:25:00 - 00:38:56
it would be very interesting to see if there could be a step function where this algorithm can simulate the increases in jackpot winnings. It’s going to be one in 292+ million of a chance that you hit it at all much less multiple times, but the code should be interesting to see. - Python Tutorial: Simulate the Powerball Lottery Using Python

it would be very interesting to see if there could be a step function where this algorithm can simulate the increases in jackpot winnings. It’s going to be one in 292+ million of a chance that you hit it at all much less multiple times, but the code should be interesting to see.

Python Tutorial: Simulate the Powerball Lottery Using Python
2023年01月10日  20 80 様 
00:27:43 - 00:38:56
A OAuth Django video would be awesome!(Applicable to all sorts of OAuth situations, not just the YouTube API.) - Python YouTube API Tutorial: Using OAuth to Access User Accounts

A OAuth Django video would be awesome!(Applicable to all sorts of OAuth situations, not just the YouTube API.)

Python YouTube API Tutorial: Using OAuth to Access User Accounts
2020年09月10日 
00:07:58 - 00:43:21
At  you move the file and see some blurred miniature version of your open folders in the dock. How did you enable that? - Python YouTube API Tutorial: Using OAuth to Access User Accounts

At you move the file and see some blurred miniature version of your open folders in the dock. How did you enable that?

Python YouTube API Tutorial: Using OAuth to Access User Accounts
2020年09月10日 
00:09:58 - 00:43:21
In case you are getting Error 403 ("access_denied The developer hasn’t given you access to this app") go to the OAuth consent screen and under Test Users add your email by clicking on Add Users.  You should be able to grant access after you've added User. - Python YouTube API Tutorial: Using OAuth to Access User Accounts

In case you are getting Error 403 ("access_denied The developer hasn’t given you access to this app") go to the OAuth consent screen and under Test Users add your email by clicking on Add Users. You should be able to grant access after you've added User.

Python YouTube API Tutorial: Using OAuth to Access User Accounts
2020年09月10日 
00:19:36 - 00:43:21
@corey  So why did you add the join function here, when appending the video id to the list its already a list and its working for me when I pass the vid_ids directly - Python YouTube API Tutorial: Calculating the Duration of a Playlist

@corey So why did you add the join function here, when appending the video id to the list its already a list and its working for me when I pass the vid_ids directly

Python YouTube API Tutorial: Calculating the Duration of a Playlist
2020年06月11日 
00:11:24 - 00:37:38
TypeError: expected string or bytes-like object, I am taking this error in , any idea? - Python YouTube API Tutorial: Calculating the Duration of a Playlist

TypeError: expected string or bytes-like object, I am taking this error in , any idea?

Python YouTube API Tutorial: Calculating the Duration of a Playlist
2020年06月11日 
00:18:50 - 00:37:38
(I love that "Whoops that went too well"-moment at  :D) - Python Tutorial: Real World Example - Using Patreon API and Pillow to Automate Image Creation

(I love that "Whoops that went too well"-moment at :D)

Python Tutorial: Real World Example - Using Patreon API and Pillow to Automate Image Creation
2020年05月11日 
00:35:19 - 00:52:33