ikarth / wfc_2019f

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trying to run this, import error

BMaxV opened this issue · comments

commented

Hello,

I am curious about WFC, the code doesn't work out of the box for me. Can you please have a look?

Traceback (most recent call last):
  File "wfc_run.py", line 9, in <module>
    import wfc.wfc_control as wfc_control
  File ".../wfc_2019f/wfc/wfc_control.py", line 5, in <module>
    from .wfc_tiles import make_tile_catalog
  File ".../wfc_2019f/wfc/wfc_tiles.py", line 6, in <module>
    from numpy.typing import NDArray
ModuleNotFoundError: No module named 'numpy.typing'

I will now dive a bit into your code to see if I can learn something that way.

Update Numpy to the latest version:
pip install -U numpy

Should be at least v1.20.