machinalis / mypy-data

mypy typesheds for the Python data stack
BSD 3-Clause "New" or "Revised" License
86 stars 23 forks source link

Error loading into mypy #26

Open rpgoldman opened 6 years ago

rpgoldman commented 6 years ago

When I use mypy with these stubs (python 3.6, MacOS) I get this (cryptic) message:

stubs/numpy/__init__.pyi:48: error: Class numpy.flatiter has abstract attributes "__next__"
stubs/numpy/__init__.pyi:48: note: If it is meant to be abstract, add 'abc.ABCMeta' as an explicit metaclass

I'm afraid I don't know what this means; I suspect it has to do with the use of type variables, but...