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

I have the same issue in EP9.5. I had .py in the same folder as IDF file, but it could not find it using the default "Add Current Working Directory to Search Path" set to yes.

I think I found the issue. EnergyPlus removes the space from the "search paths" as a result he can't find the py module.

The original folder directory was "C:\Users\BT\Desktop\EnergyPlus95pythonexamples\test run"

The line from the .err file

*** Successfully added path "C:\\Users\\BT\\Desktop\\EnergyPlus95pythonexamples\\testrun" to the sys.path in Python

I have had the same issue in EP9.5. I had .py in the same folder as IDF file, but it could not find it using the default "Add Current Working Directory to Search Path" set to yes.

I think I found the issue. EnergyPlus removes the space from the "search paths" as a result he can't find the py module.

The original folder directory was "C:\Users\BT\Desktop\EnergyPlus95pythonexamples\test run"

The line from the .err file

*** Successfully added path "C:\\Users\\BT\\Desktop\\EnergyPlus95pythonexamples\\testrun" to the sys.path in Python

I had the same issue in EP9.5. I had .py in the same folder as IDF file, but it could not find it using the default "Add Current Working Directory to Search Path" set to yes.

I think I found the cause of the issue. EnergyPlus removes the space from the "search paths" as a result he can't find the py module.

The original folder directory was "C:\Users\BT\Desktop\EnergyPlus95pythonexamples\test run"

The line from the .err file

*** Successfully added path "C:\\Users\\BT\\Desktop\\EnergyPlus95pythonexamples\\testrun" to the sys.path in Python