ladybug-tools / honeybee

:honeybee: A python library to create, run and visualize radiance studies. Core library of Honeybee[+].
http://ladybug-tools.github.io/honeybee/docs
GNU General Public License v3.0
93 stars 25 forks source link

__comment__ is causing fail statement on import #338

Open maurodeluca opened 4 years ago

maurodeluca commented 4 years ago

https://github.com/ladybug-tools/honeybee/blob/78ed2ccee8365989f563d5d5e728c62a0ad4bd56/honeybee/config.json#L2


>>> from honeybee.room import Room Failed to load paths from C:\Python27\lib\site-packages\honeybee\config.json.

mostaphaRoudsari commented 4 years ago

The error has nothing to do with the __comment__ key. Is config.json file copied under the path when honeybee is installed?

How did you install honeybee?

maurodeluca commented 4 years ago

I used pip install for python 2.7. Yes, the config file is there. I don’t know about that, the error went away when I removed ‘\r’ in the comment key string, probably because it thinks it’s an escape character.