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

Revision history [back]

click to hide/show revision 1
initial version

EnergyPlus API on Apple Silicon Macs

Hi All,

Beginning to cut my teeth on the world of OpenStudio and E+. I wanted to try calling the API through python on my Apple Silicon Mac and got an error for being on an arm64 system vs x86_64. I downloaded the correct E+ version for my system and have been able to run simulations through eppy. Has anyone encountered this? Still a newbie so not sure if there is something simple I'm overlooking.

Thanks!

EnergyPlus API on Apple Silicon Macs

Hi All,

Beginning to cut my teeth on the world of OpenStudio and E+. I wanted to try calling the API through python on my Apple Silicon Mac and got an error for being on an arm64 system vs x86_64. I downloaded the correct E+ version for my system and have been able to run simulations through eppy. Has anyone encountered this? Still a newbie so not sure if there is something simple I'm overlooking.

Thanks!

EnergyPlus API on Apple Silicon Macs

Hi All,

Beginning to cut my teeth on the world of OpenStudio and E+. I wanted to try calling the API through python on my Apple Silicon Mac and got an error for being on an arm64 system vs x86_64. I downloaded the correct E+ version for my system and have been able to run simulations through eppy. Has anyone encountered this? Still a newbie so not sure if there is something simple I'm overlooking.

Thanks!

EnergyPlus API on Apple Silicon Macs

Hi All,

Beginning to cut my teeth on the world of OpenStudio and E+. I wanted to try calling the API through python on my Apple Silicon Mac and got an a dlopen error for being on an arm64 system vs x86_64. x86_64 when assigning the api (my_api =EnergyPlusAPI()). I downloaded the correct E+ version for my system and have been able to run simulations through eppy. Has anyone encountered this? Still a newbie so not sure if there is something simple I'm overlooking.

Thanks!

EnergyPlus API on Apple Silicon Macs

Hi All,

Beginning to cut my teeth on the world of OpenStudio and E+. I wanted to try calling the API through python on my Apple Silicon Mac and got a dlopen error for being on an arm64 system vs x86_64 when assigning the api (my_api =EnergyPlusAPI()). I downloaded the correct E+ version for my system and have been able to run simulations through eppy. eppy and using E+ in the terminal itself. Has anyone encountered this? Still a newbie so not sure if there is something simple I'm overlooking.overlooking. Some research has pointed me to a possible issue with using Anaconda, but haven't been able to narrow it down.

Full print out of error is below: dlopen(/Applications/EnergyPlus-22-2-0/libenergyplusapi.dylib, 0x0006): tried: '/Applications/EnergyPlus-22-2-0/libenergyplusapi.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/EnergyPlus-22-2-0/libenergyplusapi.dylib' (no such file), '/Applications/EnergyPlus-22-2-0/libenergyplusapi.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Applications/EnergyPlus-22-2-0/libenergyplusapi.22.2.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/EnergyPlus-22-2-0/libenergyplusapi.22.2.0.dylib' (no such file), '/Applications/EnergyPlus-22-2-0/libenergyplusapi.22.2.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))

Thanks!

EnergyPlus API on Apple Silicon Macs

Hi All,

Beginning to cut my teeth on the world of OpenStudio and E+. I wanted to try calling the API through python on my Apple Silicon Mac and got a dlopen error for being on an arm64 system vs x86_64 when assigning the api (my_api =EnergyPlusAPI()). I downloaded the correct E+ version for my system and have been able to run simulations through eppy and using E+ in the terminal itself. Has anyone encountered this? Still a newbie so not sure if there is something simple I'm overlooking. Some research has pointed me to a possible issue with using Anaconda, but haven't been able to narrow it down.

Full print out of error is below: dlopen(/Applications/EnergyPlus-22-2-0/libenergyplusapi.dylib, 0x0006): tried: '/Applications/EnergyPlus-22-2-0/libenergyplusapi.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/EnergyPlus-22-2-0/libenergyplusapi.dylib' (no such file), '/Applications/EnergyPlus-22-2-0/libenergyplusapi.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Applications/EnergyPlus-22-2-0/libenergyplusapi.22.2.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/EnergyPlus-22-2-0/libenergyplusapi.22.2.0.dylib' (no such file), '/Applications/EnergyPlus-22-2-0/libenergyplusapi.22.2.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))EDIT: After more research and digging, the problem WAS Anaconda Python. It seems this was running through Rosetta rather than native on the system (a common problem from what I have discovered). Using a different interpreter (Mambaforge for example) with a native Apple Silicon installer seems to have fixed the issue. I hope this helps someone in the future!

Thanks!