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

Unable to run OpenStudio due to PYTHONHOME error

I've searched all over the internet for this and can't seem to fix this error. I am new to OpenStudio and trying to run a simple model. I am repeatedly getting the following errors from within the OpenStudio Application.

Initializing workflow.
Processing OpenStudio Measures.
Translating the OpenStudio Model to EnergyPlus.
Processing EnergyPlus Measures.
Starting Simulation.
EnergyPlus Starting
EnergyPlus, Version 9.3.0-baff08990c, YMD=2020.08.13 09:58
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Adjusting Air System Sizing
Adjusting Standard 62.1 Ventilation Sizing
Initializing Simulation
Program terminated: EnergyPlus Terminated--Error(s) Detected.
Failed.

I have tried changing my PYTHONHOME environment variable but cannot fix the issue. Does it need to be set to the Python Standard Library included in the OpenStudio installation? I tried setting it to this:

export PYTHONHOME=/Applications/OpenStudio-3.0.1/EnergyPlus/

which is where the Python Standard Library is located for OpenStudio, but still didn't work. Any help would be much appreciated. Thanks!

Unable to run OpenStudio due to PYTHONHOME error

I've searched all over the internet for this and can't seem to fix this error. I am new to OpenStudio and trying to run a simple model. I am repeatedly getting the following errors from within the OpenStudio Application.

Initializing workflow.
Processing OpenStudio Measures.
Translating the OpenStudio Model to EnergyPlus.
Processing EnergyPlus Measures.
Starting Simulation.
EnergyPlus Starting
EnergyPlus, Version 9.3.0-baff08990c, YMD=2020.08.13 09:58
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Adjusting Air System Sizing
Adjusting Standard 62.1 Ventilation Sizing
Initializing Simulation
Program terminated: EnergyPlus Terminated--Error(s) Detected.
Failed.

I have tried changing my PYTHONHOME environment variable but cannot fix the issue. Does it need to be set to the Python Standard Library included in the OpenStudio installation? I tried setting it to this:

export PYTHONHOME=/Applications/OpenStudio-3.0.1/EnergyPlus/

which is where the Python Standard Library is located for OpenStudio, but still didn't work. Any help would be much appreciated. Thanks!

Unable to run OpenStudio due to PYTHONHOME error

I've searched all over the internet for this and can't seem to fix this error. I am new to OpenStudio and trying to run a simple model. I am repeatedly getting the following errors from within the OpenStudio Application.

Initializing workflow.
Processing OpenStudio Measures.
Translating the OpenStudio Model to EnergyPlus.
Processing EnergyPlus Measures.
Starting Simulation.
EnergyPlus Starting
EnergyPlus, Version 9.3.0-baff08990c, YMD=2020.08.13 09:58
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Adjusting Air System Sizing
Adjusting Standard 62.1 Ventilation Sizing
Initializing Simulation
Program terminated: EnergyPlus Terminated--Error(s) Detected.
Failed.

I have tried changing my PYTHONHOME environment variable but cannot fix the issue. Does it need to be set to the Python Standard Library included in the OpenStudio installation? I tried setting it to this:

export PYTHONHOME=/Applications/OpenStudio-3.0.1/EnergyPlus/

which is where the Python Standard Library is located for OpenStudio, but still didn't work. Any help would be much appreciated. Thanks!

Unable to run OpenStudio due to PYTHONHOME errorerror on Mac

I've searched all over the internet for this and can't seem to fix this error. I am new to OpenStudio and trying to run a simple model. I am repeatedly getting the following errors from within the OpenStudio Application.

Initializing workflow.
Processing OpenStudio Measures.
Translating the OpenStudio Model to EnergyPlus.
Processing EnergyPlus Measures.
Starting Simulation.
EnergyPlus Starting
EnergyPlus, Version 9.3.0-baff08990c, YMD=2020.08.13 09:58
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Adjusting Air System Sizing
Adjusting Standard 62.1 Ventilation Sizing
Initializing Simulation
Program terminated: EnergyPlus Terminated--Error(s) Detected.
Failed.

I have tried changing my PYTHONHOME environment variable but cannot permanently change PYTHONHOME so can't fix the issue. Does it need to be set to the Python Standard Library included in the OpenStudio installation? I tried setting it to like this:

export PYTHONHOME=/Applications/OpenStudio-3.0.1/EnergyPlus/

which is where the Python Standard Library is located for OpenStudio, but still didn't work. Any help would be much appreciated. Thanks!

Unable to run OpenStudio due to PYTHONHOME error on Mac

I've searched all over the internet for this and can't seem to fix this error. I am new to OpenStudio and trying to run a simple model. I am repeatedly getting the following errors from within the OpenStudio Application.

Initializing workflow.
Processing OpenStudio Measures.
Translating the OpenStudio Model to EnergyPlus.
Processing EnergyPlus Measures.
Starting Simulation.
EnergyPlus Starting
EnergyPlus, Version 9.3.0-baff08990c, YMD=2020.08.13 09:58
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Adjusting Air System Sizing
Adjusting Standard 62.1 Ventilation Sizing
Initializing Simulation
Program terminated: EnergyPlus Terminated--Error(s) Detected.
Failed.

I have tried changing my PYTHONHOME environment variable but cannot permanently change PYTHONHOME so can't fix the issue. in my .zprofile to the directory of my python installation which didn't correct the error. Does it need to be set to the Python Standard Library included in the OpenStudio installation? I tried setting it like this:

export PYTHONHOME=/Applications/OpenStudio-3.0.1/EnergyPlus/
PYTHONHOME="/Applications/OpenStudio-3.0.1/EnergyPlus/"

which is where the Python Standard Library is located for OpenStudio, but still didn't work. that caused an import module error when trying to run Python in my terminal so I reverted back to the directory of my Python installation (/Users/myusername/opt/anaconda3). Any help would be much appreciated. Thanks!

Unable to run OpenStudio due to PYTHONHOME error on Mac

I've searched all over the internet for this and can't seem to fix this error. I am new to OpenStudio and trying to run a simple model. I am repeatedly getting the following errors from within the OpenStudio Application.

Initializing workflow.
Processing OpenStudio Measures.
Translating the OpenStudio Model to EnergyPlus.
Processing EnergyPlus Measures.
Starting Simulation.
EnergyPlus Starting
EnergyPlus, Version 9.3.0-baff08990c, YMD=2020.08.13 09:58
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Adjusting Air System Sizing
Adjusting Standard 62.1 Ventilation Sizing
Initializing Simulation
Program terminated: EnergyPlus Terminated--Error(s) Detected.
Failed.

I have tried changing my PYTHONHOME environment variable in my .zprofile to the directory of my python installation which didn't correct the error. Does it need to be set to the Python Standard Library included in the OpenStudio installation? I tried setting it like this:

export PYTHONHOME="/Applications/OpenStudio-3.0.1/EnergyPlus/"

which is where the Python Standard Library is located for OpenStudio, but that caused an import module error when trying to run Python in my terminal so I reverted back to the directory of my Python installation (/Users/myusername/opt/anaconda3). Any help would be much appreciated. Thanks!

Unable to run OpenStudio due to PYTHONHOME error on Mac

I've searched all over the internet for this and can't seem to fix this error. I am new to OpenStudio and trying to run a simple model. I am repeatedly getting the following errors from within the OpenStudio Application.

Initializing workflow.
Processing OpenStudio Measures.
Translating the OpenStudio Model to EnergyPlus.
Processing EnergyPlus Measures.
Starting Simulation.
EnergyPlus Starting
EnergyPlus, Version 9.3.0-baff08990c, YMD=2020.08.13 09:58
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Adjusting Air System Sizing
Adjusting Standard 62.1 Ventilation Sizing
Initializing Simulation
Program terminated: EnergyPlus Terminated--Error(s) Detected.
Failed.

I have tried changing my PYTHONHOME environment variable in my .zprofile to the directory of my python installation which didn't correct the error. Does it need to be set to the Python Standard Library included in the OpenStudio installation? I tried setting it like this:

export PYTHONHOME="/Applications/OpenStudio-3.0.1/EnergyPlus/"

which is where the Python Standard Library is located for OpenStudio, but that caused an import module error when trying to run Python in my terminal so I reverted back to the directory of my Python installation (/Users/myusername/opt/anaconda3). Any help would be much appreciated. Thanks!