simoncozens / atokern

Neural network based font kerning
85 stars 7 forks source link

Doesn't run against skimage anymore #7

Closed behdad closed 12 months ago

behdad commented 12 months ago
$ ./kerncritic ~/hb/Roboto-Regular.ttf
Traceback (most recent call last):
  File "/home/behdad/kerning/atokern/./kerncritic", line 8, in <module>
    from tensorfont import Font
  File "/home/behdad/.local/lib/python3.11/site-packages/tensorfont/__init__.py", line 7, in <module>
    from skimage.util import pad
ImportError: cannot import name 'pad' from 'skimage.util' (/home/behdad/.local/lib/python3.11/site-packages/skimage/util/__init__.py)
Requirement already satisfied: scikit-image in /home/behdad/.local/lib/python3.11/site-packages (0.21.0)
simoncozens commented 12 months ago

Upgrade tensorfont to 0.1.0

behdad commented 12 months ago

Upgrade tensorfont to 0.1.0

Thanks. Can you publish to pip?

behdad commented 12 months ago

Humm. Didn't help. The import is right there in kerncritic itself.