In the deap/gp.py file, the from inspect import isclass is missing.
So it will show NameError: name 'isclass' is not defined when someone try to use deap.gp.mutInsert()
I noticed that the codes on github doesn't have this issue, but the released version on PyPI does.
Hi, there is a bug in the released deap 1.4.1 on PyPI.
In the deap/gp.py file, the
from inspect import isclass
is missing. So it will showNameError: name 'isclass' is not defined
when someone try to usedeap.gp.mutInsert()
I noticed that the codes on github doesn't have this issue, but the released version on PyPI does.