- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 53
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
'jsonvalidator' is not defined #38
Comments
@kennyworkman you have not supplied any code to reproduce or the version of jsonargparse you are using, which you should when creating issues. I don't know what exactly you are doing, but have a look at https://jsonargparse.readthedocs.io/en/stable/#installation. There are several optional features, and you must install specifying extras requires depanding on what you want. For what you want it seems you are missing |
Thank you - let me know what else I should provide to be helpful. I have some questions after digging a bit through source.
This Is this an intentional design choice? I think this should be made more clear in the documentation if so. |
ie. in
However, you reference the conditionally instantiated |
If you see the boolean arguments section in the documentation it does say that |
I have changed the code so that the exception error message is more clear and also added a table in the installation section of the readme to make it easier to understand which features require which extras requires. Please have a look. |
Thank you, able to reproduce with more informative error. Learned a lot picking through the repo - thanks for your work. |
As you can see from path and stack trace - python3.9 and issue arises when invoking
add_argument
.The text was updated successfully, but these errors were encountered: