Ladybug 1.9 not running in with 2020 intel MacBook

Thank you for this thread @Joshua @chris . In my graduate class, this turned into a manageable but interesting problem because my students are using a wide range of laptops, and the lab desktops run protected university images. We took a different route and were able to resolve it today, but I will definitely try this method in the future.

For mac laptops with Intel processors, we installed “OpenStudio 3.9 Darwin-x86_64.dmg” instead of “Darwin-Arm64.dmg,” which is intended for M1–M4 chips. That resolved the JSON object detection issue. One additional note: for M1–M4 (Apple Silicon) Macs, we needed to install Rosetta 2, as prompted by the Ladybug Tools installer. Macs with Intel processors did not require this step.

We used the following command in Terminal:

“””

softwareupdate --install-rosetta --agree-to-license

“””

However, in general, we encountered a common issue across Windows, Mac, and lab computers while running Ladybug Tools 1.9 with OpenStudio 1.9. After installation, running scripts such as the shoebox energy model produced the following error:

“””
Solution exception: Failed to translate Model to OpenStudio

For further information visit: Redirecting...
“”””

The main issue was that the packages Pydantic and Queenbee needed to be downgraded.

After installing Ladybug and OpenStudio, we ran the following command in Command Prompt or Terminal, which resolved the issue on all machines:

“””

C:\Users<username>\ladybug_tools\python\python.exe -m pip install --force-reinstall “pydantic==1.10.26” “queenbee==1.28.3”

“””
There may be an easier or more streamlined solution, but this approach worked consistently across all of our computers.

1 Like