About the Python module venv

About Venv

A module that packages a python virtual environment.

Example

Programs A and B and version 1 and version of Library X are operating in the same environment. Also consider the case where program A depends on version 1 and program B depends on version 2. Since python cannot manage multiple versions of the same library in one environment, either program A or program B should not work properly at this time. However, if you use the Venv module, you can build version 1 of library X in the virtual environment of program A and version 2 of library X in the virtual environment of program B. If you use Venv as described above, you can build a different virtual environment for each program.

Reference book

https://www.amazon.co.jp/Python%E3%82%AF%E3%83%AD%E3%83%BC%E3%83%AA%E3%83%B3%E3%82%B0-%E3%82%B9%E3%82%AF%E3%83%AC%E3%82%A4%E3%83%94%E3%83%B3%E3%82%B0-%E5%A2%97%E8%A3%9C%E6%94%B9%E8%A8%82%E7%89%88-%E3%83%87%E3%83%BC%E3%82%BF%E5%8F%8E%E9%9B%86%E3%83%BB%E8%A7%A3%E6%9E%90%E3%81%AE%E3%81%9F%E3%82%81%E3%81%AE%E5%AE%9F%E8%B7%B5%E9%96%8B%E7%99%BA%E3%82%AC%E3%82%A4%E3%83%89-%E5%8A%A0%E8%97%A4/dp/4297107384/ref=pd_lpo_14_t_0/358-0973601-8452038?_encoding=UTF8&pd_rd_i=4297107384&pd_rd_r=20b5729a-f361-4b0c-be73-21f0421bdb51&pd_rd_w=HPMiy&pd_rd_wg=gw5wF&pf_rd_p=4b55d259-ebf0-4306-905a-7762d1b93740&pf_rd_r=KCCGEDE63C3C07JMZ3JR&psc=1&refRID=KCCGEDE63C3C07JMZ3JR

Recommended Posts

About the Python module venv
About the ease of Python
About the enumerate function (python)
About the features of Python
venv (Python)
[Python] What is @? (About the decorator)
Try using the Python Cmd module
About the basics list of Python basics
Master the weakref module in Python
About python slices
About python comprehension
Python module import
About Python tqdm.
About python yield
About python, class
Pass the path of the imported python module
About the virtual environment of python version 3.7
About python inheritance
[Python] Summarize the rudimentary things about multithreading
About python, range ()
[Python] Import the module one level higher
Check the path of the Python imported module
About python decorators
Python collections module
About python reference
About Python decorators
[Python] About multi-process
Install the Python module in any directory
About the queue
A Java programmer studied Python. (About the decorator)
About the difference between "==" and "is" in python
A note about the python version of python virtualenv
Specifying the module loading destination with GAE python
I tried using the Datetime module by Python
A memorandum about the Python tesseract wrapper library
[Note] About the role of underscore "_" in Python
About the behavior of Model.get_or_create () of peewee in Python
[Python] A rough understanding of the logging module
Try using the collections module (ChainMap) of python3
Examine Python script bottlenecks with the cProfile module
About the * (asterisk) argument of python (and itertools.starmap)
Use the nghttp2 Python module from Homebrew from pyenv's Python
[Python] Seriously think about the M-1 winning method.
About Python external module import <For super beginners>
Find the maximum Python
About function arguments (python)
python original module import
[Python] Memo about functions
Summary about Python3 + OpenCV3
the zen of Python
About Python, for ~ (range)
About Python3 character code
[Python] Memo about errors
About Python development environment
About the Unfold function
Python: About function arguments
About the service command
Python, about exception handling
About Python Pyramid traversal
[Python] Split the date
About the confusion matrix