:orphan: .. _s_11PytoRuntime11InterpreterC25virtualEnvironmentHomeURL10Foundation0G0VSgvp: ``virtualEnvironmentHomeURL`` ============================= The home URL of a virtual environment that is entered when running a script. .. raw:: html .. rubric:: Declaration .. raw:: html
var virtualEnvironmentHomeURL: URL?
   
.. rubric:: Discussion The home is the path containing the binaries so the parent directory must be readable. Setting this does not affect currently running script automatically. Instead, if you’re running a shell you can call :swift:symbol:`PytoRuntime.Interpreter.updateShellVirtualEnvironment()`.