Description:
In Grasshopper with rhino 8, install methods can fail to run due to an erroneously set PYTHONHOME environment variable from rhino.
This only occurs if you have run a native grasshopper python 3 script component as this installs a python environment for rhino.
How to replicate:
Place a python 3 script component, wait for the install to complete, and then try to install a python environment (Tested and it fails when using InstallPythonEnv_LBT for the LadybugTools_Toolkit python environment).
Workaround:
If you are stuck in this state and wish to be able to install in rhino 8, close rhino and delete the %USERHOME%/.rhinocode/py39-rh8 folder.
Expected behaviour:
Environments install correctly.
Test file(s):