ladybug-tools / butterfly

:butterfly: A light python API for creating and running OpenFoam cases for CFD simulation.
http://ladybug-tools.github.io/butterfly.html
GNU General Public License v3.0
249 stars 72 forks source link

Butterfly sys.path and confing.yml errors #389

Open urbanowiczjp opened 5 years ago

urbanowiczjp commented 5 years ago

<>

Hi Mostapha,

It was nice to meet you back in Melbourne last year. I wanted to run a quick wind analysis, so I have installed blueCFD and newest ladybug tools with butterfly and run into errors:

  1. Solution exception: Failed to import butterfly: Can't find butterfly in sys.path. You need to install butterfly to use butterfly-grasshopper. You can download butterfly from https://github.com/mostaphaRoudsari/Butterfly or
  2. Solution exception: Failed to import butterfly: Set your installation flavor in confing.yml.

Basically changing default __init__.py base folders for both ESI and blueCFD paths (wherever you choose to install it) made everything work. Hope this helps anyone.

Thanks, Jacek

angriff24 commented 3 years ago

Thank you! I've fixed my error by this.

tinaqrlll commented 1 year ago

<>

Hi Mostapha,

It was nice to meet you back in Melbourne last year. I wanted to run a quick wind analysis, so I have installed blueCFD and newest ladybug tools with butterfly and run into errors:

  1. Solution exception: Failed to import butterfly: Can't find butterfly in sys.path. You need to install butterfly to use butterfly-grasshopper. You can download butterfly from https://github.com/mostaphaRoudsari/Butterfly or
  2. Solution exception: Failed to import butterfly: Set your installation flavor in confing.yml.

Basically changing default __init__.py base folders for both ESI and blueCFD paths (wherever you choose to install it) made everything work. Hope this helps anyone.

Thanks, Jacek

Hi, Jacek! I am encountering the same problem. Can you elaborate please how you fixed the problem? I am completely new to this stuff. Thank you!