unexpected keyword argument 'allow_abbrev'
See original GitHub issueHello. I get this error everytime I try to launch yq
with or without arguments (also the examples in in README.md don’t work).
Traceback (most recent call last):
File "/usr/bin/yq", line 11, in <module>
load_entry_point('yq==2.7.2', 'console_scripts', 'yq')()
File "/usr/lib/python3.7/site-packages/yq/__init__.py", line 119, in main
parser = get_parser(program_name)
File "/usr/lib/python3.7/site-packages/yq/__init__.py", line 96, in get_parser
parser = Parser(**parser_args)
TypeError: __init__() got an unexpected keyword argument 'allow_abbrev'
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
python - Django-admin TypeError: __init__() got an ...
After performing the uninstall I no longer get the unexpected keyword argument 'allow_abbrev' error, and any packages that rely on argparse ...
Read more >argparse : allow_abbrev behavior between 3.7 and 3.8
msg375276 ‑ (view) Author: (r1kk3r) Date: 2020‑08‑12 18:10
msg375292 ‑ (view) Author: Karthikeyan Singaravelan (xtreak) * Date: 2020‑08‑13 06:27
msg375848 ‑ (view) Author: (r1kk3r) Date:...
Read more >[Solved]-Django-admin TypeError: __init__() got an ...
Coding example for the question Django-admin TypeError: __init__() got an unexpected keyword argument 'allow_abbrev'-django.
Read more >Python 3.6: __init__() got an unexpected keyword argument ...
Python 3.6: __init__() got an unexpected keyword argument 'allow_abbrev' ; Describe the bug. If I invoke scalene 1.3.3 with Python 3.6 in any...
Read more >What is allow_abbrev in Python? - Educative.io
However, an abbreviation can match more than one argument. In that case, the program throws an error. The allow_abbrev parameter supplied to the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am running into this issue now as well,
and to answer your question, they are very different.I found the issue, an older version of
argparse
was installed as a standalone module and it was overriding with the built-in version.Closing due to lack of response.