Get_sun issues, input JD

Hi all.

Please, help me with the issue.
I am prying to use get_sun, but failing.

I need to calculate the distance from the Earth to the Sun from JD.
But I get a mistake.

line 150, in get_sun earth_pv_helio, earth_pv_bary = erfa.epv00(*get_jd12(time, ‘tdb’))

My line looks like:
h=get_sun(JD)