View Single Post
  #8   (View Single Post)  
Old 22nd December 2022
gordon.f gordon.f is offline
Fdisk Soldier
 
Join Date: Oct 2021
Location: Europe
Posts: 60
Default

Dear TronDD,

I was making a search at the forum for Python and saw my question again then read all the messages. For your message at #5, I didn't know at that time. The reason for creating a virtual environment(stand-alone Python in that particular folder) is that you don't want to harm the original Python installation of your system, they said. Let's say there are different projects that require different modules, libraries and by creating a virtual environment you'll make sure that nothing will affect each other. For example sometimes a Flask(a Python web development framework) application requires a deprecated library in order to perform and for some other application that deprecated library is not up-to-date so it doesn't perform.

EDIT/UPDATE: Also when you ship that folder to someone else, they don't have to deal with the dependencies. All the necessary modules/libraries have been already installed by you.

Last edited by gordon.f; 22nd December 2022 at 08:49 AM. Reason: Another use case
Reply With Quote