I am reading Eppy tutorial at: https://pythonhosted.org/eppy/Main_Tutorial.html
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"
IDF.setiddname(iddfile)
idf1 = IDF(fname1)
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?