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

Pypubmed Update #3

Open
roywhite98 opened this issue Feb 19, 2023 · 1 comment
Open

Pypubmed Update #3

roywhite98 opened this issue Feb 19, 2023 · 1 comment

Comments

@roywhite98
Copy link

roywhite98 commented Feb 19, 2023

I am getting this error when I try this :

~\home> pypubmed

ImportError: cannot import name 'ImpactFactor' from 'impact_factor' (E:\Python\Lib\site-packages\impact_factor_init_.py)

python version 3.11.2

Finally I found the problem.

open pypubmed\core\eutils.py and line 16 changes to:

from impact_factor.core import Factor

line 39 changes to:

IF = ImpactFactor()

then everything works well.

@Bohuaw
Copy link

Bohuaw commented Mar 16, 2023

Thank you for your answer. But a little question is that the line 39 supposed to chenge to:
IF = Factor()
Then everything be ok.

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