Honeybee-PH components labelled old

Hi @luke,

yes, It appears this is the issue:

31. Package “phx==1.50.3” may not have been updated correctly
or its usage in the plugin may have changed.
See pip stderr below:

ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: ‘C:\Users\luke-\ladybug_tools\python\Lib\site-packages\xlwings\addin\xlwings.xlam’
Consider using the --user option or check the permissions.

So for some reason the XLWings install is failing to install, which is then causing the problem in Rhino/Grasshopper.

What sort of system are you running here? What OS version, what Rhino version? I know there were some other problems with XLwings in Rhino recently, but I thought those were isolated to the Python3 interpreter? Honeybee uses the older Python2 IronPython interpreter, so I didn’t think that would be affected?


Are you able to install XLwings if you start a new Virtual Environment (outside Rhino/Honeybee) and just run pip install xlwings ?

To try this:

  1. Create a new temp folder someplace (Desktop, etc…)
  2. Open this folder in PowerShell of sim (as admin)
  3. Create a virtual environment using: python -m venv venv
  4. Activate it using: venv\Sctipts\activate
  5. pip install Xlwings using: pip install xlwings

See if it installed without any errors?

@edpmay

1 Like