SlideShare a Scribd company logo
Library
Numpy 1.18.1
SciPy 1.9.1
Software
Python
Source Code
Library
Numpy 1.18.1
SciPy 1.9.1
Scikit-learn 1.1.2
TensorFlow 2.9.0
Pandas 1.4.4
Matplotlib 3.5.3
Software
Python
Source Code
API
SDK
File
Package
Dependency
Virtual Environment
Local Machine
v3.5.9
Global Python Version 3.5.9
Third Party Library
Global Third Party Library
Local Machine
Python v3.5.9
Globally Third Party Library
Numpy 1.18.1
SciPy 1.9.1
Scikit-learn 1.1.2
TensorFlow 2.9.0
Pandas 1.4.4
Matplotlib 3.5.3
Plotly 1.2.0
Seaborn 0.11.2
Open CV 4.5.2
Scikit-Image 0.19.2
Mahotas 1.4.13
Matplotlib 3.5.3
And So on…
Application-A
Python v3.5.9
Third Party Library
Numpy 1.18.1
SciPy 1.9.1
Local Machine
Python v3.6.7
Globally Third Party Library
Numpy 1.2.0
SciPy 1.2.1
Scikit-learn 1.3.1
TensorFlow 2.9.0
Pandas 1.9.4
Matplotlib 3.5.8
Plotly 1.4.0
Seaborn 0.13.2
Open CV 4.6.1
Scikit-Image 0.20.2
Mahotas 1.7.1
Matplotlib 3.5.4
And So on…
Application-A
Python v3.5.9
Third Party Library
Numpy 1.18.1
SciPy 1.9.1
Local Machine
Python v3.7.1
Globally Third Party Library
Numpy 1.2.5
SciPy 2.2.1
Scikit-learn 2.3.1
TensorFlow 2.10.0
Pandas 1.10.1
Matplotlib 3.7.8
Plotly 1.8.0
Seaborn 0.17.1
Open CV 4.8.1
Scikit-Image 0.21.1
Mahotas 1.8.1
Matplotlib 3.6.4
And So on…
Application-A
Python v3.5.9
Third Party Library
Numpy 1.18.1
SciPy 1.9.1
Local Machine
Python v3.7.4
Globally Third Party Library
Numpy 1.2.6
SciPy 2.3.1
Scikit-learn 3.3.1
TensorFlow 3.0.1
Pandas 1.10.1
Matplotlib 3.8.1
Plotly 1.8.3
Seaborn 0.19.1
Open CV 4.9.1
Scikit-Image 0.22.0
Mahotas 1.9.1
Matplotlib 3.7.3
And So on…
Application-A
Python v3.5.9
Third Party Library
Numpy 1.18.1
SciPy 1.9.1
Local Machine
Python v3.8.1
Globally Third Party Library
Numpy 1.3.2
SciPy 3.1.1
Scikit-learn 4.3.0
TensorFlow 3.5.1
Pandas 1.11.0
Matplotlib 3.9.1
Plotly 1.10.2
Seaborn 0.20.0
Open CV 5.2.1
Scikit-Image 1.10.0
Mahotas 2.0.1
Matplotlib 3.9.1
And So on…
Application-A
Python v3.5.9
Third Party Library
Numpy 1.18.1
SciPy 1.9.1
Local Machine
Python v3.8.5
Globally Third Party Library
Numpy 2.1.2
SciPy 3.2.1
Scikit-learn 5.0.1
TensorFlow 3.7.1
Pandas 1.13.0
Matplotlib 4.0.1
Plotly 1.13.1
Seaborn 0.21.0
Open CV 5.8.2
Scikit-Image 1.12.1
Mahotas 2.3.1
Matplotlib 3.0.2
And So on…
Application-A
Python v3.5.9
Third Party Library
Numpy 1.18.1
SciPy 1.9.1
Local Machine
Python v3.5.9
Globally Third Party Library
Numpy 1.18.1
SciPy 1.9.1
Scikit-learn 1.1.2
TensorFlow 2.9.0
Pandas 1.4.4
Matplotlib 3.5.3
Plotly 1.2.0
Seaborn 0.11.2
Open CV 4.5.2
Scikit-Image 0.19.2
Mahotas 1.4.13
Matplotlib 3.5.3
And So on…
Application-A
Python v3.5.9
Third Party Library
Numpy 1.18.1
SciPy 1.9.1
Application-B
Python v3.7.10
Third Party Library
Numpy 1.23.2
TensorFlow 2.9.0
Virtual Environment
Virtual Environment
Virtual Environment
A virtual environment is a Python environment
such that the Python interpreter, libraries and
scripts installed into it are isolated from those
installed in other virtual environments, and (by
default) any libraries installed in a “system”
Python, i.e., one which is installed as part of your
operating system.
Local Machine
Python v3.5.9
Globally Third Party Library
Numpy 1.18.1
SciPy 1.9.1
Scikit-learn 1.1.2
TensorFlow 2.9.0
Pandas 1.4.4
Matplotlib 3.5.3
Plotly 1.2.0
Seaborn 0.11.2
Open CV 4.5.2
Scikit-Image 0.19.2
Mahotas 1.4.13
Matplotlib 3.5.3
And So on…
Application-A
Python v3.5.9
Third Party Library
Numpy 1.18.1
SciPy 1.9.1
Application-B
Python v3.7.10
Third Party Library
Numpy 1.23.2
TensorFlow 2.9.0
Virtual Environment
Virtual Environment
Python virtual environments give you the ability to isolate
your Python development projects from your system installed
Python and other Python environments. This gives you full
control of your project and makes it easily reproducible.
Each module is the preferred way to create and manage isolated virtual
environments.
Virtual Environments
venv virtualenv
venv is included in the Python
standard library and requires no
additional installation.
virtualenv is includes in the
Python standard library and
some others additional library
installation.

More Related Content

What's hot

F strings
F stringsF strings
F strings
Mariatta Wijaya
 
Datatypes in python
Datatypes in pythonDatatypes in python
Datatypes in python
eShikshak
 
Python Basics
Python BasicsPython Basics
Python Basics
tusharpanda88
 
Introduction to NumPy (PyData SV 2013)
Introduction to NumPy (PyData SV 2013)Introduction to NumPy (PyData SV 2013)
Introduction to NumPy (PyData SV 2013)
PyData
 
Introduction to OOP in Python
Introduction to OOP in PythonIntroduction to OOP in Python
Introduction to OOP in Python
Aleksander Fabijan
 
Phython Programming Language
Phython Programming LanguagePhython Programming Language
Phython Programming Language
R.h. Himel
 
Kotlin InDepth Tutorial for beginners 2022
Kotlin InDepth Tutorial for beginners 2022Kotlin InDepth Tutorial for beginners 2022
Kotlin InDepth Tutorial for beginners 2022
Simplilearn
 
Python Tutorial Part 2
Python Tutorial Part 2Python Tutorial Part 2
Python Tutorial Part 2
Haitham El-Ghareeb
 
Modules and packages in python
Modules and packages in pythonModules and packages in python
Modules and packages in python
TMARAGATHAM
 
Python programming
Python  programmingPython  programming
Python programming
Ashwin Kumar Ramasamy
 
Introduction to Koltin for Android Part I
Introduction to Koltin for Android Part I Introduction to Koltin for Android Part I
Introduction to Koltin for Android Part I
Atif AbbAsi
 
PYthon
PYthonPYthon
Chapter 05 classes and objects
Chapter 05 classes and objectsChapter 05 classes and objects
Chapter 05 classes and objects
Praveen M Jigajinni
 
Spring Boot
Spring BootSpring Boot
Spring Boot
Pei-Tang Huang
 
Python Basics | Python Tutorial | Edureka
Python Basics | Python Tutorial | EdurekaPython Basics | Python Tutorial | Edureka
Python Basics | Python Tutorial | Edureka
Edureka!
 
Effective Spring Transaction Management
Effective Spring Transaction ManagementEffective Spring Transaction Management
Effective Spring Transaction Management
UMA MAHESWARI
 
Python virtualenv & pip in 90 minutes
Python virtualenv & pip in 90 minutesPython virtualenv & pip in 90 minutes
Python virtualenv & pip in 90 minutes
Larry Cai
 
Oops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in JavaOops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in Java
Madishetty Prathibha
 
Maven Introduction
Maven IntroductionMaven Introduction
Maven Introduction
Sandeep Chawla
 
Presentation on python
Presentation on pythonPresentation on python
Presentation on python
william john
 

What's hot (20)

F strings
F stringsF strings
F strings
 
Datatypes in python
Datatypes in pythonDatatypes in python
Datatypes in python
 
Python Basics
Python BasicsPython Basics
Python Basics
 
Introduction to NumPy (PyData SV 2013)
Introduction to NumPy (PyData SV 2013)Introduction to NumPy (PyData SV 2013)
Introduction to NumPy (PyData SV 2013)
 
Introduction to OOP in Python
Introduction to OOP in PythonIntroduction to OOP in Python
Introduction to OOP in Python
 
Phython Programming Language
Phython Programming LanguagePhython Programming Language
Phython Programming Language
 
Kotlin InDepth Tutorial for beginners 2022
Kotlin InDepth Tutorial for beginners 2022Kotlin InDepth Tutorial for beginners 2022
Kotlin InDepth Tutorial for beginners 2022
 
Python Tutorial Part 2
Python Tutorial Part 2Python Tutorial Part 2
Python Tutorial Part 2
 
Modules and packages in python
Modules and packages in pythonModules and packages in python
Modules and packages in python
 
Python programming
Python  programmingPython  programming
Python programming
 
Introduction to Koltin for Android Part I
Introduction to Koltin for Android Part I Introduction to Koltin for Android Part I
Introduction to Koltin for Android Part I
 
PYthon
PYthonPYthon
PYthon
 
Chapter 05 classes and objects
Chapter 05 classes and objectsChapter 05 classes and objects
Chapter 05 classes and objects
 
Spring Boot
Spring BootSpring Boot
Spring Boot
 
Python Basics | Python Tutorial | Edureka
Python Basics | Python Tutorial | EdurekaPython Basics | Python Tutorial | Edureka
Python Basics | Python Tutorial | Edureka
 
Effective Spring Transaction Management
Effective Spring Transaction ManagementEffective Spring Transaction Management
Effective Spring Transaction Management
 
Python virtualenv & pip in 90 minutes
Python virtualenv & pip in 90 minutesPython virtualenv & pip in 90 minutes
Python virtualenv & pip in 90 minutes
 
Oops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in JavaOops concepts || Object Oriented Programming Concepts in Java
Oops concepts || Object Oriented Programming Concepts in Java
 
Maven Introduction
Maven IntroductionMaven Introduction
Maven Introduction
 
Presentation on python
Presentation on pythonPresentation on python
Presentation on python
 

Similar to Python Virtual Environment.pptx

Workshop For pycon13
Workshop For pycon13Workshop For pycon13
Workshop For pycon13
Steven Pousty
 
Python Course
Python CoursePython Course
Python Course
Sourabh Sahu
 
Why should I learn python
Why should I learn pythonWhy should I learn python
Why should I learn python
grinu
 
Python standard library & list of important libraries
Python standard library & list of important librariesPython standard library & list of important libraries
Python standard library & list of important libraries
grinu
 
Python
Python Python
Python
Edureka!
 
Python Programming Hans-petter Halvorsen.pdf
Python Programming Hans-petter Halvorsen.pdfPython Programming Hans-petter Halvorsen.pdf
Python Programming Hans-petter Halvorsen.pdf
sasidhar3641
 
PyCon Taiwan 2013 Tutorial
PyCon Taiwan 2013 TutorialPyCon Taiwan 2013 Tutorial
PyCon Taiwan 2013 Tutorial
Justin Lin
 
Australian Bioinformatics Conference (ABiC) 2014 Talk - Doing bioinformatics ...
Australian Bioinformatics Conference (ABiC) 2014 Talk - Doing bioinformatics ...Australian Bioinformatics Conference (ABiC) 2014 Talk - Doing bioinformatics ...
Australian Bioinformatics Conference (ABiC) 2014 Talk - Doing bioinformatics ...
The University of Queensland
 
Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)
Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)
Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)
Red Hat Developers
 
Developing in Python on Red Hat Platforms (DevNation 2016)
Developing in Python on Red Hat Platforms (DevNation 2016)Developing in Python on Red Hat Platforms (DevNation 2016)
Developing in Python on Red Hat Platforms (DevNation 2016)
ncoghlan_dev
 
Getting started with Linux and Python by Caffe
Getting started with Linux and Python by CaffeGetting started with Linux and Python by Caffe
Getting started with Linux and Python by Caffe
Lihang Li
 
Introduction to python lecture (1)
Introduction to python lecture (1)Introduction to python lecture (1)
Introduction to python lecture (1)
Ali ٍSattar
 
Numba
NumbaNumba
Easy contributable internationalization process with Sphinx @ PyCon APAC 2016
Easy contributable internationalization process with Sphinx @ PyCon APAC 2016Easy contributable internationalization process with Sphinx @ PyCon APAC 2016
Easy contributable internationalization process with Sphinx @ PyCon APAC 2016
Takayuki Shimizukawa
 
Getting Started with Python
Getting Started with PythonGetting Started with Python
Getting Started with Python
Sankhya_Analytics
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
Hello World! with Python
Hello World! with PythonHello World! with Python
Hello World! with Python
Dhanashree Prasad
 
Python Automation With Gauge + Selenium + API + Jenkins
Python Automation With Gauge + Selenium + API + JenkinsPython Automation With Gauge + Selenium + API + Jenkins
Python Automation With Gauge + Selenium + API + Jenkins
Fagun Priyadarshi
 
Python tutorial
Python tutorialPython tutorial
Python tutorial
Vijay Chaitanya
 
Conda: A Cross-Platform Package Manager for Any Binary Distribution (SciPy 2014)
Conda: A Cross-Platform Package Manager for Any Binary Distribution (SciPy 2014)Conda: A Cross-Platform Package Manager for Any Binary Distribution (SciPy 2014)
Conda: A Cross-Platform Package Manager for Any Binary Distribution (SciPy 2014)
Aaron Meurer
 

Similar to Python Virtual Environment.pptx (20)

Workshop For pycon13
Workshop For pycon13Workshop For pycon13
Workshop For pycon13
 
Python Course
Python CoursePython Course
Python Course
 
Why should I learn python
Why should I learn pythonWhy should I learn python
Why should I learn python
 
Python standard library & list of important libraries
Python standard library & list of important librariesPython standard library & list of important libraries
Python standard library & list of important libraries
 
Python
Python Python
Python
 
Python Programming Hans-petter Halvorsen.pdf
Python Programming Hans-petter Halvorsen.pdfPython Programming Hans-petter Halvorsen.pdf
Python Programming Hans-petter Halvorsen.pdf
 
PyCon Taiwan 2013 Tutorial
PyCon Taiwan 2013 TutorialPyCon Taiwan 2013 Tutorial
PyCon Taiwan 2013 Tutorial
 
Australian Bioinformatics Conference (ABiC) 2014 Talk - Doing bioinformatics ...
Australian Bioinformatics Conference (ABiC) 2014 Talk - Doing bioinformatics ...Australian Bioinformatics Conference (ABiC) 2014 Talk - Doing bioinformatics ...
Australian Bioinformatics Conference (ABiC) 2014 Talk - Doing bioinformatics ...
 
Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)
Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)
Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)
 
Developing in Python on Red Hat Platforms (DevNation 2016)
Developing in Python on Red Hat Platforms (DevNation 2016)Developing in Python on Red Hat Platforms (DevNation 2016)
Developing in Python on Red Hat Platforms (DevNation 2016)
 
Getting started with Linux and Python by Caffe
Getting started with Linux and Python by CaffeGetting started with Linux and Python by Caffe
Getting started with Linux and Python by Caffe
 
Introduction to python lecture (1)
Introduction to python lecture (1)Introduction to python lecture (1)
Introduction to python lecture (1)
 
Numba
NumbaNumba
Numba
 
Easy contributable internationalization process with Sphinx @ PyCon APAC 2016
Easy contributable internationalization process with Sphinx @ PyCon APAC 2016Easy contributable internationalization process with Sphinx @ PyCon APAC 2016
Easy contributable internationalization process with Sphinx @ PyCon APAC 2016
 
Getting Started with Python
Getting Started with PythonGetting Started with Python
Getting Started with Python
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
Hello World! with Python
Hello World! with PythonHello World! with Python
Hello World! with Python
 
Python Automation With Gauge + Selenium + API + Jenkins
Python Automation With Gauge + Selenium + API + JenkinsPython Automation With Gauge + Selenium + API + Jenkins
Python Automation With Gauge + Selenium + API + Jenkins
 
Python tutorial
Python tutorialPython tutorial
Python tutorial
 
Conda: A Cross-Platform Package Manager for Any Binary Distribution (SciPy 2014)
Conda: A Cross-Platform Package Manager for Any Binary Distribution (SciPy 2014)Conda: A Cross-Platform Package Manager for Any Binary Distribution (SciPy 2014)
Conda: A Cross-Platform Package Manager for Any Binary Distribution (SciPy 2014)
 

More from Abdullah al Mamun

Underfitting and Overfitting in Machine Learning
Underfitting and Overfitting in Machine LearningUnderfitting and Overfitting in Machine Learning
Underfitting and Overfitting in Machine Learning
Abdullah al Mamun
 
Recurrent Neural Networks (RNNs)
Recurrent Neural Networks (RNNs)Recurrent Neural Networks (RNNs)
Recurrent Neural Networks (RNNs)
Abdullah al Mamun
 
Random Forest
Random ForestRandom Forest
Random Forest
Abdullah al Mamun
 
Principal Component Analysis PCA
Principal Component Analysis PCAPrincipal Component Analysis PCA
Principal Component Analysis PCA
Abdullah al Mamun
 
Natural Language Processing (NLP)
Natural Language Processing (NLP)Natural Language Processing (NLP)
Natural Language Processing (NLP)
Abdullah al Mamun
 
Naive Bayes
Naive BayesNaive Bayes
Naive Bayes
Abdullah al Mamun
 
Multilayer Perceptron Neural Network MLP
Multilayer Perceptron Neural Network MLPMultilayer Perceptron Neural Network MLP
Multilayer Perceptron Neural Network MLP
Abdullah al Mamun
 
Long Short Term Memory LSTM
Long Short Term Memory LSTMLong Short Term Memory LSTM
Long Short Term Memory LSTM
Abdullah al Mamun
 
Linear Regression
Linear RegressionLinear Regression
Linear Regression
Abdullah al Mamun
 
K-Nearest Neighbor(KNN)
K-Nearest Neighbor(KNN)K-Nearest Neighbor(KNN)
K-Nearest Neighbor(KNN)
Abdullah al Mamun
 
Hidden Markov Model (HMM)
Hidden Markov Model (HMM)Hidden Markov Model (HMM)
Hidden Markov Model (HMM)
Abdullah al Mamun
 
Ensemble Method (Bagging Boosting)
Ensemble Method (Bagging Boosting)Ensemble Method (Bagging Boosting)
Ensemble Method (Bagging Boosting)
Abdullah al Mamun
 
Convolutional Neural Networks CNN
Convolutional Neural Networks CNNConvolutional Neural Networks CNN
Convolutional Neural Networks CNN
Abdullah al Mamun
 
Artificial Neural Network ANN
Artificial Neural Network ANNArtificial Neural Network ANN
Artificial Neural Network ANN
Abdullah al Mamun
 
Reinforcement Learning, Application and Q-Learning
Reinforcement Learning, Application and Q-LearningReinforcement Learning, Application and Q-Learning
Reinforcement Learning, Application and Q-Learning
Abdullah al Mamun
 
Session on evaluation of DevSecOps
Session on evaluation of DevSecOpsSession on evaluation of DevSecOps
Session on evaluation of DevSecOps
Abdullah al Mamun
 
Artificial Intelligence: Classification, Applications, Opportunities, and Cha...
Artificial Intelligence: Classification, Applications, Opportunities, and Cha...Artificial Intelligence: Classification, Applications, Opportunities, and Cha...
Artificial Intelligence: Classification, Applications, Opportunities, and Cha...
Abdullah al Mamun
 
DevOps Presentation.pptx
DevOps Presentation.pptxDevOps Presentation.pptx
DevOps Presentation.pptx
Abdullah al Mamun
 
Artificial intelligence Presentation.pptx
Artificial intelligence Presentation.pptxArtificial intelligence Presentation.pptx
Artificial intelligence Presentation.pptx
Abdullah al Mamun
 
An approach to empirical Optical Character recognition paradigm using Multi-L...
An approach to empirical Optical Character recognition paradigm using Multi-L...An approach to empirical Optical Character recognition paradigm using Multi-L...
An approach to empirical Optical Character recognition paradigm using Multi-L...
Abdullah al Mamun
 

More from Abdullah al Mamun (20)

Underfitting and Overfitting in Machine Learning
Underfitting and Overfitting in Machine LearningUnderfitting and Overfitting in Machine Learning
Underfitting and Overfitting in Machine Learning
 
Recurrent Neural Networks (RNNs)
Recurrent Neural Networks (RNNs)Recurrent Neural Networks (RNNs)
Recurrent Neural Networks (RNNs)
 
Random Forest
Random ForestRandom Forest
Random Forest
 
Principal Component Analysis PCA
Principal Component Analysis PCAPrincipal Component Analysis PCA
Principal Component Analysis PCA
 
Natural Language Processing (NLP)
Natural Language Processing (NLP)Natural Language Processing (NLP)
Natural Language Processing (NLP)
 
Naive Bayes
Naive BayesNaive Bayes
Naive Bayes
 
Multilayer Perceptron Neural Network MLP
Multilayer Perceptron Neural Network MLPMultilayer Perceptron Neural Network MLP
Multilayer Perceptron Neural Network MLP
 
Long Short Term Memory LSTM
Long Short Term Memory LSTMLong Short Term Memory LSTM
Long Short Term Memory LSTM
 
Linear Regression
Linear RegressionLinear Regression
Linear Regression
 
K-Nearest Neighbor(KNN)
K-Nearest Neighbor(KNN)K-Nearest Neighbor(KNN)
K-Nearest Neighbor(KNN)
 
Hidden Markov Model (HMM)
Hidden Markov Model (HMM)Hidden Markov Model (HMM)
Hidden Markov Model (HMM)
 
Ensemble Method (Bagging Boosting)
Ensemble Method (Bagging Boosting)Ensemble Method (Bagging Boosting)
Ensemble Method (Bagging Boosting)
 
Convolutional Neural Networks CNN
Convolutional Neural Networks CNNConvolutional Neural Networks CNN
Convolutional Neural Networks CNN
 
Artificial Neural Network ANN
Artificial Neural Network ANNArtificial Neural Network ANN
Artificial Neural Network ANN
 
Reinforcement Learning, Application and Q-Learning
Reinforcement Learning, Application and Q-LearningReinforcement Learning, Application and Q-Learning
Reinforcement Learning, Application and Q-Learning
 
Session on evaluation of DevSecOps
Session on evaluation of DevSecOpsSession on evaluation of DevSecOps
Session on evaluation of DevSecOps
 
Artificial Intelligence: Classification, Applications, Opportunities, and Cha...
Artificial Intelligence: Classification, Applications, Opportunities, and Cha...Artificial Intelligence: Classification, Applications, Opportunities, and Cha...
Artificial Intelligence: Classification, Applications, Opportunities, and Cha...
 
DevOps Presentation.pptx
DevOps Presentation.pptxDevOps Presentation.pptx
DevOps Presentation.pptx
 
Artificial intelligence Presentation.pptx
Artificial intelligence Presentation.pptxArtificial intelligence Presentation.pptx
Artificial intelligence Presentation.pptx
 
An approach to empirical Optical Character recognition paradigm using Multi-L...
An approach to empirical Optical Character recognition paradigm using Multi-L...An approach to empirical Optical Character recognition paradigm using Multi-L...
An approach to empirical Optical Character recognition paradigm using Multi-L...
 

Recently uploaded

UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
Bert Jan Schrijver
 
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom KittEnhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Peter Caitens
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
Preparing Non - Technical Founders for Engaging a Tech Agency
Preparing Non - Technical Founders for Engaging  a  Tech AgencyPreparing Non - Technical Founders for Engaging  a  Tech Agency
Preparing Non - Technical Founders for Engaging a Tech Agency
ISH Technologies
 
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
The Third Creative Media
 
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdfBaha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
safelyiotech
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
rodomar2
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
dakas1
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
The Rising Future of CPaaS in the Middle East 2024
The Rising Future of CPaaS in the Middle East 2024The Rising Future of CPaaS in the Middle East 2024
The Rising Future of CPaaS in the Middle East 2024
Yara Milbes
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
Peter Muessig
 
Quarter 3 SLRP grade 9.. gshajsbhhaheabh
Quarter 3 SLRP grade 9.. gshajsbhhaheabhQuarter 3 SLRP grade 9.. gshajsbhhaheabh
Quarter 3 SLRP grade 9.. gshajsbhhaheabh
aisafed42
 
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
kalichargn70th171
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
Reetu63
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
gapen1
 
ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.
Maitrey Patel
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
Green Software Development
 

Recently uploaded (20)

UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
 
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom KittEnhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
Preparing Non - Technical Founders for Engaging a Tech Agency
Preparing Non - Technical Founders for Engaging  a  Tech AgencyPreparing Non - Technical Founders for Engaging  a  Tech Agency
Preparing Non - Technical Founders for Engaging a Tech Agency
 
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
 
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdfBaha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
The Rising Future of CPaaS in the Middle East 2024
The Rising Future of CPaaS in the Middle East 2024The Rising Future of CPaaS in the Middle East 2024
The Rising Future of CPaaS in the Middle East 2024
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
 
Quarter 3 SLRP grade 9.. gshajsbhhaheabh
Quarter 3 SLRP grade 9.. gshajsbhhaheabhQuarter 3 SLRP grade 9.. gshajsbhhaheabh
Quarter 3 SLRP grade 9.. gshajsbhhaheabh
 
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
 
ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
 

Python Virtual Environment.pptx

  • 2. Library Numpy 1.18.1 SciPy 1.9.1 Scikit-learn 1.1.2 TensorFlow 2.9.0 Pandas 1.4.4 Matplotlib 3.5.3 Software Python Source Code API SDK File Package Dependency Virtual Environment
  • 4. Third Party Library Global Third Party Library
  • 5. Local Machine Python v3.5.9 Globally Third Party Library Numpy 1.18.1 SciPy 1.9.1 Scikit-learn 1.1.2 TensorFlow 2.9.0 Pandas 1.4.4 Matplotlib 3.5.3 Plotly 1.2.0 Seaborn 0.11.2 Open CV 4.5.2 Scikit-Image 0.19.2 Mahotas 1.4.13 Matplotlib 3.5.3 And So on… Application-A Python v3.5.9 Third Party Library Numpy 1.18.1 SciPy 1.9.1
  • 6. Local Machine Python v3.6.7 Globally Third Party Library Numpy 1.2.0 SciPy 1.2.1 Scikit-learn 1.3.1 TensorFlow 2.9.0 Pandas 1.9.4 Matplotlib 3.5.8 Plotly 1.4.0 Seaborn 0.13.2 Open CV 4.6.1 Scikit-Image 0.20.2 Mahotas 1.7.1 Matplotlib 3.5.4 And So on… Application-A Python v3.5.9 Third Party Library Numpy 1.18.1 SciPy 1.9.1
  • 7. Local Machine Python v3.7.1 Globally Third Party Library Numpy 1.2.5 SciPy 2.2.1 Scikit-learn 2.3.1 TensorFlow 2.10.0 Pandas 1.10.1 Matplotlib 3.7.8 Plotly 1.8.0 Seaborn 0.17.1 Open CV 4.8.1 Scikit-Image 0.21.1 Mahotas 1.8.1 Matplotlib 3.6.4 And So on… Application-A Python v3.5.9 Third Party Library Numpy 1.18.1 SciPy 1.9.1
  • 8. Local Machine Python v3.7.4 Globally Third Party Library Numpy 1.2.6 SciPy 2.3.1 Scikit-learn 3.3.1 TensorFlow 3.0.1 Pandas 1.10.1 Matplotlib 3.8.1 Plotly 1.8.3 Seaborn 0.19.1 Open CV 4.9.1 Scikit-Image 0.22.0 Mahotas 1.9.1 Matplotlib 3.7.3 And So on… Application-A Python v3.5.9 Third Party Library Numpy 1.18.1 SciPy 1.9.1
  • 9. Local Machine Python v3.8.1 Globally Third Party Library Numpy 1.3.2 SciPy 3.1.1 Scikit-learn 4.3.0 TensorFlow 3.5.1 Pandas 1.11.0 Matplotlib 3.9.1 Plotly 1.10.2 Seaborn 0.20.0 Open CV 5.2.1 Scikit-Image 1.10.0 Mahotas 2.0.1 Matplotlib 3.9.1 And So on… Application-A Python v3.5.9 Third Party Library Numpy 1.18.1 SciPy 1.9.1
  • 10. Local Machine Python v3.8.5 Globally Third Party Library Numpy 2.1.2 SciPy 3.2.1 Scikit-learn 5.0.1 TensorFlow 3.7.1 Pandas 1.13.0 Matplotlib 4.0.1 Plotly 1.13.1 Seaborn 0.21.0 Open CV 5.8.2 Scikit-Image 1.12.1 Mahotas 2.3.1 Matplotlib 3.0.2 And So on… Application-A Python v3.5.9 Third Party Library Numpy 1.18.1 SciPy 1.9.1
  • 11. Local Machine Python v3.5.9 Globally Third Party Library Numpy 1.18.1 SciPy 1.9.1 Scikit-learn 1.1.2 TensorFlow 2.9.0 Pandas 1.4.4 Matplotlib 3.5.3 Plotly 1.2.0 Seaborn 0.11.2 Open CV 4.5.2 Scikit-Image 0.19.2 Mahotas 1.4.13 Matplotlib 3.5.3 And So on… Application-A Python v3.5.9 Third Party Library Numpy 1.18.1 SciPy 1.9.1 Application-B Python v3.7.10 Third Party Library Numpy 1.23.2 TensorFlow 2.9.0 Virtual Environment Virtual Environment
  • 12. Virtual Environment A virtual environment is a Python environment such that the Python interpreter, libraries and scripts installed into it are isolated from those installed in other virtual environments, and (by default) any libraries installed in a “system” Python, i.e., one which is installed as part of your operating system.
  • 13. Local Machine Python v3.5.9 Globally Third Party Library Numpy 1.18.1 SciPy 1.9.1 Scikit-learn 1.1.2 TensorFlow 2.9.0 Pandas 1.4.4 Matplotlib 3.5.3 Plotly 1.2.0 Seaborn 0.11.2 Open CV 4.5.2 Scikit-Image 0.19.2 Mahotas 1.4.13 Matplotlib 3.5.3 And So on… Application-A Python v3.5.9 Third Party Library Numpy 1.18.1 SciPy 1.9.1 Application-B Python v3.7.10 Third Party Library Numpy 1.23.2 TensorFlow 2.9.0 Virtual Environment Virtual Environment Python virtual environments give you the ability to isolate your Python development projects from your system installed Python and other Python environments. This gives you full control of your project and makes it easily reproducible.
  • 14. Each module is the preferred way to create and manage isolated virtual environments. Virtual Environments venv virtualenv venv is included in the Python standard library and requires no additional installation. virtualenv is includes in the Python standard library and some others additional library installation.

Editor's Notes

  1. When developing software with Python, a basic approach is to install Python on your machine, install all your required libraries via the terminal and write all of your source code. This works fine for simple Python scripting projects.
  2. But to implement complex software development projects, is required a Python interpreter, Python library, an API, or software development kit, often you will be working with multiple files, multiple packages, dependencies and as well as your source code. As a result, you will need to isolate your Python development environment for that particular project. This isolated environment is known as Virtual Environment. In this tutorial, I would like to present a clear explanation about Virtual Environment and how can you implement it on your python project.
  3. For example, in your Local Machine you have installed Python 3.5.9. This Python version 3.5.9 is a Global Version for your computer.
  4. As you know that python has thousands of “Third Party Library” such as Numpy 1.18.1, SciPy 1.9.1, Scikit-learn 1.1.2, TensorFlow 2.9.0, Pandas 1.4.4 and so on. You have installed anyone library as you want. I would like to called it “Global Third-Party Library”.
  5. Now, you have created a python project “Application-A” by the Python version 3.5.9. And imagine, in your Local Machine you have installed Python 3.5.9. To implement this “Application-A”, you need to import some “Third Party Library” such Numpy version 1.18.1, SciPy version 1.9.1. You can import those “Third-Party Library” Numpy and SciPy from the “Globally installed Third-Party Library”. But problem is that with the over time being Python, Numpy and SciPy version can be changed. So “Application-A” source code can be interrupted if you update the Python, Numpy and SciPy.
  6. Now, you have created a python project “Application-A” by the Python version 3.5.9. And imagine, in your Local Machine you have installed Python 3.5.9. To implement this “Application-A”, you need to import some “Third Party Library” such Numpy version 1.18.1, SciPy version 1.9.1. You can import those “Third-Party Library” Numpy and SciPy from the “Globally installed Third-Party Library”. But problem is that with the over time being Python, Numpy and SciPy version can be changed. So “Application-A” source code can be interrupted if you update the Python, Numpy and SciPy.
  7. Now, you have created a python project “Application-A” by the Python version 3.5.9. And imagine, in your Local Machine you have installed Python 3.5.9. To implement this “Application-A”, you need to import some “Third Party Library” such Numpy version 1.18.1, SciPy version 1.9.1. You can import those “Third-Party Library” Numpy and SciPy from the “Globally installed Third-Party Library”. But problem is that with the over time being Python, Numpy and SciPy version can be changed. So “Application-A” source code can be interrupted if you update the Python, Numpy and SciPy.
  8. Now, you have created a python project “Application-A” by the Python version 3.5.9. And imagine, in your Local Machine you have installed Python 3.5.9. To implement this “Application-A”, you need to import some “Third Party Library” such Numpy version 1.18.1, SciPy version 1.9.1. You can import those “Third-Party Library” Numpy and SciPy from the “Globally installed Third-Party Library”. But problem is that with the over time being Python, Numpy and SciPy version can be changed. So “Application-A” source code can be interrupted if you update the Python, Numpy and SciPy.
  9. Now, you have created a python project “Application-A” by the Python version 3.5.9. And imagine, in your Local Machine you have installed Python 3.5.9. To implement this “Application-A”, you need to import some “Third Party Library” such Numpy version 1.18.1, SciPy version 1.9.1. You can import those “Third-Party Library” Numpy and SciPy from the “Globally installed Third-Party Library”. But problem is that with the over time being Python, Numpy and SciPy version can be changed. So “Application-A” source code can be interrupted if you update the Python, Numpy and SciPy.
  10. Now, you have created a python project “Application-A” by the Python version 3.5.9. And imagine, in your Local Machine you have installed Python 3.5.9. To implement this “Application-A”, you need to import some “Third Party Library” such Numpy version 1.18.1, SciPy version 1.9.1. You can import those “Third-Party Library” Numpy and SciPy from the “Globally installed Third-Party Library”. But problem is that with the over time being Python, Numpy and SciPy version can be changed. So “Application-A” source code can be interrupted if you update the Python, Numpy and SciPy.
  11. Consider another scenario, you have created another Python project “Application-B” by the Python version 3.7.10. In your Local Machine installed Python version is 3.5.9. And need to import “Third Party Library” such Numpy version 1.23.2, TensorFlow version 2.9.0. Here you can’t import globally installed Numpy third party library because of version mismatch. But can be import globally installed TensorFlow third party library as both version is same.
  12. Python virtual environments give you the ability to isolate your Python development projects from your system installed Python and other Python environments. This gives you full control of your project and makes it easily reproducible.
  13. Now time to implement the virtual environment for your python project. Here I would like to know you that virtual environment manager: either venv or virtualenv for Python. Each module is the preferred way to create and manage isolated virtual environments. venv is included in the Python standard library and requires no additional installation. Whereas virtualenv is includes in the Python standard library and some others additional library installation.