DEAP / deap

Distributed Evolutionary Algorithms in Python
http://deap.readthedocs.org/
GNU Lesser General Public License v3.0
5.87k stars 1.13k forks source link

Bug in released deap 1.4.1 on PyPI #744

Open YzyParry opened 7 months ago

YzyParry commented 7 months ago

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 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.