-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
configparser.MissingSectionHeaderError: File contains no section headers. #520
Comments
My System Info:
My Package Info:
|
I couldn't reproduce the problem. can you try it in a fresh env? |
I realized that I also made a mistake in the above code. I tried to directly print f.name, which might have caused an AttributeError. As a result, the code skipped from this position. Then, somewhere, this error was caught, so the code could run. So, I did the following operation in _read and directly threw an error. I found that, just as I thought, there was a place in metadata.py that caught this error. |
Yes, there seem to be some strange issues with my environment. When I tried to create a new environment using virtualenv, it showed me an AttributeError.
By the way, this is one of my devices with the ARM architecture. I've never encountered related problems on other devices. |
I am not sure what the source of the problem is. let's close the problem. but feel free to reopen it when you have more information about the problem. |
I encountered a very strange problem. I just used the following code to import pydantic_settings.
But the following error was displayed:
I wanted to look from the bottom to find out which f caused it and what it was. when I added print and reran it, the code was correct.
The text was updated successfully, but these errors were encountered: