Python Programming Environment Setup

preview_player
Показать описание
If you're interested in Python programming basics, you need to learn what Python Virtual Environments (Python virtualenvs) are:
-How to create a Python virtualenv (python 2 and python 3)
-How to use pip, the Python package manager, to:
-find Python libraries and packages
-install Python libraries and packages
-uninstall Python packages
-take a snapshot of current requirements

2:02 - Installing the Python virtual environments package
2:18 - What are Python virtual environments for?
3:45 - Containerization rant (jails, lxc, docker) and how it's similar to virtual environments
4:30 - What virtual environments are, on a practical level
5:31 - How to create a python virtual environment
7:46 - How to activate your Python virtualenv
8:57 - How to create a Python 3 virtualenv

9:37 - How to manage Python packages and libraries with pip, the Python package manager
9:44 - Use pip search to find packages
10:25 - Use pip to install a package into your Python virtualenv
13:42 - Upgrading Python virtualenv packages with pip
14:18 - How to uninstall Python packages from your virtualenv with pip

16:09 - More on how to deploy an application in the real world (common problems)

17:06 - See which packages are currently installed in your Python virtualenv
17:21 - 'Freeze' your currently installed Python packages into a requirements file

17:56 - Basic tips for using Python virtualenvs with Git (.gitignore)

############################
Commands used in this video:
############################

apt-get install python-virtualenv

virtualenv venv
virtualenv -p python3 venv

source venv/bin/activate

pip search foobar
pip install foobar
pip install --upgrade foobar
pip uninstall foobar

################
Get More tutoriaLinux
################

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

Thanks a lot. I was completely lost in everything Python virtual environments related.

AlexNiebla
Автор

great content, thanks so much for your hard work making these vids, they're very informative.

psteiny
Автор

Great content Dave, very happy to hit 'like' and comment
- this virtualenv tut is helping me set up my first python3 project dev environment, Thanks a mil.

geoptus
Автор

This is a really good intro to virtual envs for Python. Thanks a lot! Much appreciated ...

gregf
Автор

Thank you for a clear and concise walk through on how to use venv's.

CassegrainSweden
Автор

It really helped! Thanks a lot man!
Greatings from spain

guillemgarcia
Автор

As I am a self taught and beginner dev that was a nice intro about virtual environment. And tks for tip about git..

julienfruteau
Автор

thank you so much, like you have no idea how much you've helped me dude. love you

ridarahmuni
Автор

Hi thx for the great videos, this was exactly what I was looking for :) keep it up!

kristoferlinnestjerna
Автор

Super useful tips!!
Thank you very much.

zyandeepbaruah
Автор

great content. you are a real pro. keep up the good work

Tom-gsxc
Автор

OK so this video, and the pre-requisite video, have answered so many questions that I have been having a hard time finding on the Internet as a total noob.

joshstrawder
Автор

Amazing video! Very clear and precise. Thank you for the help. Do you have tutorials on flask ?

manishasinha
Автор

19:50 SUPER IMPORTANT NOTICE, PLEASE LISTEN

tutoriaLinux
Автор

Hi there! I am an Argentinian SA. Your vids are helping a lot. Keep it up!

LaureanoPiotti
Автор

Thanks for your videos. Always good to pick up a few tips and also to confirm what I'm already doing is on point.

One recommendation. Use virtualenvwrapper rather than the standard vanilla virtualenv. It is much easier to use and the commands are easy to remember / intuitive.

Thanks again for all your hard work!

jlaroche
Автор

Thanks man. Informative video as usual.
One thing. The .gitignore expressions are glob expressions, not regex.

ahmadel-komey
Автор

Hi, thanks for the video. I'm trying to activate a virtual env from a .yaml file, but I can't figure out what directory to save it in where it can be installed using anaconda prompt. Any idea?

potatofarmer
Автор

Very interesting stuff. I never went that deep in my Linux  journey but I have been learning as much as many commands as I can possible grab for a long while by now. So I am still a beginner and I apologize if I have not been posting anything, but that's only because I am trying to absorb as much as I can since I was not born with a geeks mind but that mind is slowly growing one video at a time. So please forgive my abstinence of posting comments so far.

chomito
Автор

Good job! I am a casual programmer and I use python. This wasn't anything I didn't know but I enjoyed refreshing with your video, it was clear and you didn't draw out for time on topics or add any confusion. Any chance for a docker video?

DerekAdamPiano
visit shbcf.ru