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

How to use custom python packages in OpenStudio Measures

The python measures within OpenStudio Application use the python 'standard library' that comes with the sofware. Located for example at C:\openstudioapplication-1.9.0\EnergyPlus\python_lib.

I would like to use non standard python packages, including ones I create to share common utility code between measures.

At the moment I have a very clunky approach - I basically copy my custom package into that location. It is horrible to develop and distribute this way.

Can I get OpenStudio application to look in other locations for python packages?

How to use custom python packages in OpenStudio Measures

The python measures within OpenStudio Application use the python 'standard library' that comes with the sofware. Located for example at C:\openstudioapplication-1.9.0\EnergyPlus\python_lib.

I would like to use non standard python packages, including ones I create to share common utility code between measures.

At the moment I have a very clunky approach - I basically copy my custom package into that location. It is horrible to develop and distribute this way.

Can I get OpenStudio application to look in other locations for python packages?