Home>

I would like to build a virtual environment using Windows powershell.
When creating a virtual environment file with the same name in two types of files, Desktop \ file1 \ env and Desktop \ file2 \ env,
file1 \ env \ Scripts \ python.exe ・ ・ ・ ① file2 \ env \ Scripts \ python.exe ・ ・ ・ ②
Is it the same virtual environment if you give the same name? (For example, when an A module is added to ①, an A module is also added to ②)

  • Answer # 1

    Virtual environment in another directory = different. Each is completely independent.

    Because it is confusing, we recommend that you manage it with a different name ...

  • Answer # 2

    The library modules in each virtual environment are independent, so adding one to the other Not added.