Skip to content

Grasshopper in rhino 8 causes very strange errors when running install methods #205

@Tom-Kingstone

Description

@Tom-Kingstone

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):

Metadata

Metadata

Assignees

Labels

type:bugError or unexpected behaviour

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions