DEAP / deap

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

Bug in released deap 1.4.1 on PyPI #744

Open YzyParry opened 6 months ago

YzyParry commented 6 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.