


Which one you should use depends on your individual project needs: Python has many different ways to create virtual environments, each with its own pros and cons. Ways to Create Virtual Python Shell Environments Virtual environments allow you to run multiple Python projects and/or multiple versions of Python on the same local system without worrying about dependency conflicts between installations. Why Use a Python Virtual EnvironmentĪ Python virtual environment is a local installation (as opposed to global installation) that has its own directory system (including site-packages), Python interpreter, and shares the standard Python library. What is a Virtual Python Shell?Ī virtual Python shell is used to execute commands and compile Python code in a virtual environment on your local machine. In corporate environments located behind a firewall, you may require the use of an HTTP proxy server to redirect internal traffic to, or any other repository that hosts Python packages.

By default pip installs third party packages from the Python Package Index (PyPI).
