Python Tutorial: Pipenv - Easily Manage Packages and Virtual Environments

preview_player
Показать описание
In this Python Programming Tutorial, we will be learning how to use Pipenv. Pipenv is a new package manager that combines pip and virtualenv into one easy-to-use tool. We will learn how to install pipenv, how to install new packages, how to manage our newly created environment for our project, and also look at some more advanced use cases. Let's get started...

PATH Videos:

✅ Support My Channel Through Patreon:

✅ Become a Channel Member:

✅ One-Time Contribution Through PayPal:

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

✅ Corey's Public Amazon Wishlist

✅ Equipment I Use and Books I Recommend:

▶️ You Can Find Me On:

#Python #Pipenv
Рекомендации по теме
Комментарии
Автор

Great video, very clear - thank you so much !
0:28 pip
0:55 venv
2:11 Installing Pipenv & create Pipenv project by installing a package
5:08 Pipfile and Pipfile.lock
11:22 Activating the virtual environment / run from virtual environment
14:55 Run scripts inside the virtual environment
15:19 Install packages using requirements.txt
17:21 Create requirements.txt
18:30 Install a package only for the dev environment
19:36 Removing a package
20:07 Changing Python version from Pipfile
22:07 re-creating the environment from scratch
24:25 Check for security vulnerabilities & fix
26:17 Dependencies graph
26:45 Pushing to production as a deterministic environment with Pipfile.lock
28:32 Manage environment variables

LionelHamayon
Автор

I completed cs50x with flying colors; felt so comfortable moving on; then have spent the past 3 days tearing my hair out trying to code outside of the cs50 IDE. Your videos are consistently superior in eloquence and execution and dramatically reduce barriers to entry. Thank you for caring so much about your craft and the community.

orangemahrt
Автор

My god I love the fact that whenever I need to learn something new, there is already a Corey Schafer video from like 2 years ago that teaches it.

Fisher
Автор

dislikes, how can anyone dislike such well explained videos, i mean, i have searched tutorials till my eyes bulged out. This is the best, thank

teatree
Автор

We need some more Teachers like Corey and Sendex. Thanks for this tutorial.
Love from India.
Namaste🙏

shritamkumarmund
Автор

Holy crap almost 2 years ago. Time flies! Thanks for the robust content! I really love how you always do more than just explain how to run the commands, and you always explain the why and how.

GodBreathed
Автор

Always wait for your videos. They are very powerful. Learn every playlist. You have a talent to teach. Best of luck!

aleksandrshirokov
Автор

Sir, you kick ass. Thank you. Thank you so much. I really appreciate how you mention that it was okay to not be familiar with a lot this stuff. I’m about to finish my masters in CS and am learning how much different industry is than school. Very frustrating, but you make it easier to manage. You’re a homie.

tylerf
Автор

Can't thank you enough for all of your videos, but today I've been looking for how to have env variables in a single project/env. Bravo good sir.

jaylocker
Автор

This is one very good pipenv walk through. I recommended it it to students. This should be taught as early as possible to all python students. I've learned from this. I was a dev who had to put large systems (Java EE ugh) into prod and it was always a fraught experience with many disparate tools and checks. I think every language should have a universal pipenv tool.

johnsabini
Автор

I had a weird hesitation to try to learn virtual environments, learning anxiety. Your explanations are so simple and calming a goat would understand. And Im a dog so that's giving goats a lot of credit.

grizthegriffdog
Автор

Corey, your a great member of society. A true teacher! I respect this video because it helped me a tons. This is one of the best videos on youtube at this moment.

abduldione
Автор

awesome content, thanks so much. as a novice self-taught python developer, this was gold!

sawsebauce
Автор

Great video! Very nice explanation of the problems pipenv solves and demo of pipenv features. Regarding deployment, rather than pipenv install --ignore-pipfile, better to use pipenv install --deploy command because that one checks if your Pipfile.lock is in sync with the Pipfile; if they are out of sync, it errors.

darshahlu
Автор

Super helpful, concise, no wasting time like so many other videos. Very professional and appreciated!

distracteddispatches
Автор

For any lost windows users out there, wondering "How the hell am Im gonna use it in windows cmd?",
watch the video on how to install Windows Subsystem for Linux. Corey has a video of it in the playlist "Linux/Mac terminal tutorials", so go check that out. After having it installed, you can follow all the commands that Corey uses just fine, in windows.
Of course, there are gonna be a few discrepancies, like python 3.6 being the default python instead of python 3.7, or 2 instead of 3. You can fix those small things later on.


List of what's different.
you gotta type python3 instead of python to specifically indicate python version 3
pip3 instead of pip, to refer to pip for python3 and not that for version 2.

xcxfgpn
Автор

I've been waiting for this video for long! Very comprehensive introduction to pipenv. Wonderful video!

yu-chenxue
Автор

Excellent video - it cleared out a lot of confusion and vagueness I had regarding virtual environments. Also it helped me clear out a major conceptual road-block I had, and that was: what was the logical relation between a virtual environment and a project. I was under the impression that a virtual enviroment can have multiple projects underneath .. but thanks to this presentation all is clear now .. Thank you again for providing such a great, short and clear tutorial ..

charlesbovalis
Автор

Thanks Corey! I was already using pipenv but as always learned something new with your videos (.env files). You're the best!

Lamb
Автор

When I will land a job I will donate for you!!! Went through Django series. Good job

egae