You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have successfully used julian package with Python>=3.5. Now I would need to use it with Python 2.7 but unfortunately it is not possible to import it:
>>> import julian
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/mmfi/.local/lib/python2.7/site-packages/julian/__init__.py", line 1, in <module>
from julian.julian import to_jd, from_jd
File "/home/mmfi/.local/lib/python2.7/site-packages/julian/julian.py", line 5
def __to_format(jd: float, fmt: str) -> float:
^
SyntaxError: invalid syntax
I guess this is due to the annotations. Could it be possible to update the code to support also Python>=2.7 ?
Thank you.
Regards,
Luca
The text was updated successfully, but these errors were encountered:
Hi Daniel,
I have successfully used
julian
package with Python>=3.5. Now I would need to use it with Python 2.7 but unfortunately it is not possible to import it:I guess this is due to the annotations. Could it be possible to update the code to support also Python>=2.7 ?
Thank you.
Regards,
Luca
The text was updated successfully, but these errors were encountered: