+ 1
What is virtual environment in python
3 Réponses
+ 1
If you have python 3.8 on your computer you want to create games with pygame but pygame package is available only for python 3.5.
Instead of uninstalling 3.8 and installing 3.5. You can install python 3.5 into a different folder called envs.
You also can have different environments of Python 3.8. Lets say you use one for machine learning which have tensorflow etc. And you have another another environment which have pyPdf2 where you manipulate Pdf files.
Python is easy to code but because of package dependency structure sometimes you have to install 100 different python environments to be able to use 100 different packages. It is an huge waste of memory.
They have to solve this
+ 1
Its a place you can run your code in like a sandbox enviornment. People use virtual python enviornments when making large projects, or using different versions of python.