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

TypeError: __init__() got an unexpected keyword argument 'no_args_is_help' #2

Open
superbsky opened this issue May 26, 2021 · 2 comments

Comments

@superbsky
Copy link

I am getting this error after the installation:

TypeError: init() got an unexpected keyword argument 'no_args_is_help'

Steps to reproduce:
python -V
Python 3.6.9

pip3 -V
pip 21.1.2 from /home/***/.local/lib/python3.6/site-packages/pip (python 3.6)

pip3 install pypubmed
...
Successfully installed et-xmlfile-1.1.0 googletrans-4.0.0rc1 impact-factor-1.0.8 openpyxl-3.0.7 prettytable-2.1.0 pypubmed-1.0.15 simple-googletrans-1.0.2 simple-loggers-1.0.4 w3lib-1.22.0 webrequests-1.0.4

pypubmed
Traceback (most recent call last):
File "/home/genx/.local/bin/pypubmed", line 5, in
from pypubmed.bin.cli import main
File "/home/genx/.local/lib/python3.6/site-packages/pypubmed/bin/cli.py", line 7, in
from ._search import search, advance_search
File "/home/genx/.local/lib/python3.6/site-packages/pypubmed/bin/_search.py", line 37, in
@click.pass_obj
File "/home/genx/.local/lib/python3.6/site-packages/click/decorators.py", line 115, in decorator
cmd = _make_command(f, name, attrs, cls)
File "/home/genx/.local/lib/python3.6/site-packages/click/decorators.py", line 89, in _make_command
callback=f, params=params, **attrs)
TypeError: init() got an unexpected keyword argument 'no_args_is_help'

@suqingdong
Copy link
Owner

update your click package: pip3 install -U click

@superbsky
Copy link
Author

thank you! it works now!

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

2 participants