I’m trying to install Ladybug, but I keep encountering Unicode-related errors. Here are the steps I’ve taken:
- Installed Ladybug
- Tried to import Ladybug in Grasshopper using ‘ladybug install’
- Encountered the error: Solution exception: ‘ascii’ codec can’t encode character ‘\uD559’ in position 9: ordinal not in range(128)
- changed my computer user name in English
As a solution, some suggest running the following in Python:
import sys
reload(sys)
sys.setdefaultencoding('utf8')
I’m not sure where to place this command.