Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
2

Temporary fix for the new C/Python API in EnergyPlus

asked 2020-06-18 10:17:01 -0600

bchuck's avatar

updated 2020-06-18 11:02:38 -0600

Hi there,

I am super excited for the new API and as I was attempting to play around with it I ran into the follow error:

OSError: dlopen(/Applications/EnergyPlus-9-3-0/libenergyplusapi.dylib, 6): Library not loaded: @executable_path/Python Referenced from: /Applications/EnergyPlus-9-3-0/libenergyplusapi.9.3.0.dylib

I think think this is will be solved in upcoming releases for V9.3+ based on what I saw on GitHub, but in the mean time I was wondering if anyone had figured out a solution (on OSX)?

edit retag flag offensive close merge delete

Comments

What's your purpose for using API? You could use something else for now like eppy.

Mehrdad Vojdani's avatar Mehrdad Vojdani  ( 2020-06-18 23:08:35 -0600 )edit

I am looking at control actuation and research. I have to date done this predominately using EMS but there are a lot of challenges with that method. I am hoping that going forward Python (or C) will give greater flexibility.

bchuck's avatar bchuck  ( 2020-06-19 14:01:24 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2020-07-08 11:03:23 -0600

bchuck's avatar

Building from source seemed to fix the problem.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2020-06-18 10:17:01 -0600

Seen: 213 times

Last updated: Jul 08 '20