I have questions regarding how virtual environment work. here is what I did:
I created a python virtual environment on the network drive at
\networkdrive_path\python_venvusing computer A.on computer B, in the windows command window, I activate the virtual environment, however, after activation, when I type "
python", it's not openpython.exein the virtual environment, but it's looking forpython.exein the path that stored in the "Home" variable in thepyvenv.cfg.
My question is: why it's searching python.exe in the path that stored in the "Home" variable in the pyvenv.cfg, instead of directly use python.exe in the \networkdrive_path\python_venv\scripts?
the "home" variable stores the python path that I used to create virtual environment on computer A. when I change the home path to the python path in computer B, it works when I type "Python" after activation.