Open roywhite98 opened 1 year ago
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.
Thank you for your answer. But a little question is that the line 39 supposed to chenge to: IF = Factor() Then everything be ok.
I am getting this error when I try this :
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.