Reading idf files with Eppy package
I am reading Eppy tutorial at: https://pythonhosted.org/eppy/Main_Tu...
In this tutorial, this code is provided to read an idf file and it should work based on tutorial. But it won't.
Code:
import sys
# pathnameto_eppy = 'c:/eppy'
pathnameto_eppy = '../'
sys.path.append(pathnameto_eppy)
from eppy import modeleditor
from eppy.modeleditor import IDF
iddfile = r"C:\EnergyPlusV22-1-0\Energy+.idd"
fname1 = r"C:\EnergyPlusV22-1-0\ExampleFiles\BasicsFiles\Exercise1A.idf"
epw_name = "C:/EnergyPlusV22-1-0/WeatherData/USA_CO_Golden-NREL.724666_TMY3"
IDF.setiddname(iddfile)
idf1 = IDF(fname1, epw_name) ***#Error occurs here***
idf1.printidf()
When I run it it gives me this error:
TypeError: make_idd_index() missing 1 required positional argument: 'debug'
I am using EnergyPlus V22-1-0, Eppy 0.5.63, and Python 3.8.8.
Does anyone know what the problem is?
add a comment