Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to solve FileNotFoundError #3

Open
SaraSharbaf opened this issue Mar 4, 2024 · 0 comments
Open

How to solve FileNotFoundError #3

SaraSharbaf opened this issue Mar 4, 2024 · 0 comments

Comments

@SaraSharbaf
Copy link

Hi,

I have a problem reading IDF file by pyidf. While I am running this code:

from pyidf import ValidationLevel
import pyidf

pyidf.validation_level = ValidationLevel.no

import logging
from pyidf.idf import IDF

logging.info("start")
idf = IDF(r"C:/EnergyPlusV23-2-0/ExampleFiles/BasicsFiles/Exercise1A.idf")

It shows me that:

FileNotFoundError: [Errno 2] No such file or directory: 'C:/EnergyPlusV23-2-0/ExampleFiles/BasicsFiles/Exercise1A.idf'

But this is the exact address to my idf file which I copy pasted. Do you know what could be the reason behind not finding this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant