julian 0.14 library

sum abiut suabiut at gmail.com
Wed Apr 4 18:35:40 EDT 2018


I got the error  below, tryinig in on python 3.2.

import julian
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named julian


On Thu, Apr 5, 2018 at 3:21 AM, Thomas Jollans <tjol at tjol.eu> wrote:

> On 2018-04-04 05:44, Chris Angelico wrote:
> > On Wed, Apr 4, 2018 at 12:24 PM, sum abiut <suabiut at gmail.com> wrote:
> >> Hi,
> >> Has anyone try this https://pypi.python.org/pypi/julian/0.14
> >>
> >> i got this error trying to import julian
> >>
> >>>>> import julian
> >> Traceback (most recent call last):
> >>   File "<stdin>", line 1, in <module>
> >>   File "/usr/local/lib/python2.7/dist-packages/julian/__init__.py",
> line 1,
> >> in <module>
> >>     from julian.julian import to_jd, from_jd
> >>   File "/usr/local/lib/python2.7/dist-packages/julian/julian.py", line
> 5
> >>     def __to_format(jd: float, fmt: str) -> float:
> >>                       ^
> >> SyntaxError: invalid syntax
> >>
> >
> > Looks like that package requires Python 3, but was uploaded to PyPI
> > without any version tags. You could try running it in Python 3.x, but
> > there's no way to know which ".x" versions are going to work.
>
> the cheeseshop description says 3.2+
> --
> https://mail.python.org/mailman/listinfo/python-list
>


More information about the Python-list mailing list