Back to Browse

Python Virtual Environment : Windows v/s Ubuntu | Everything you need to know

89 views
Jul 14, 2020
12:55

Hello coders, in this video we will learn all the essential commands you need to work with a virtual environment. SKIP TO PART: 00:00 Python virtual env installation in windows & Ubuntu 00:56 Advantages of creating a virtual env 02:18 List of things we will learn in this video 02:50 Layout introduction 03:20 Creating python Virtual env 04:40 Activate Virtual env 05:36 Installing a package in Virtual env 05:56 Find current Path/Working directory of Virtual env 06:49 Find Python modules installed in local Virtual env 07:26 Find (env Specific)python modules installed after Creating Virtual env 08:08 Save list of python Modules in a text (.txt) File 09:03 Installing python modules into a venv from a text(.txt) File 10:30 Deactivate & activating venv 11:31 Delete (Clean) venv 12:10 What will happen to the scripts/files if I delete the venv ? SCRIPTS FOR WINDOWS: - python -m venv demo - (envname)\scripts\activate.bat - where python - pip freeze (greaterthan) filename.txt - pip list --local - pip install -r filename.txt - deactivate SCRIPTS FOR UBUNTU: - sudo apt install python3-virtualenv - virtualenv (envname) - source (envname)/bin/activate - which python3 - pip freeze (greaterthan) filename.txt - pip list --local - pip install -r filename.txt - deactivate - rm -r (envname)

Download

0 formats

No download links available.

Python Virtual Environment : Windows v/s Ubuntu | Everything you need to know | NatokHD