Happy-Algorithms-League / hal-cgp

Cartesian genetic programming (CGP) in pure Python.
GNU General Public License v3.0
28 stars 10 forks source link

No example is running on my system #380

Closed Mujtaba1986 closed 1 year ago

Mujtaba1986 commented 1 year ago

Python present version : 3.7.9 (hal cgp was not being on python 3.10 or 3.11) I am using conda When I run the example say e.g Minimal example for evolutionary regression, I get this error

Note: I have made no change to the code available in repository " Traceback (most recent call last): File "g:\try\example_minimal.py", line 90, in pop = cgp.Population(**population_params, genome_params=genome_params) TypeError: init() missing 1 required positional argument: 'mutation_rate'

" The examples should be error free

Mujtaba1986 commented 1 year ago

The issue is resolved by reseting the windows and clean installing the python 3.8.0 ... I uninstalled the python 3.11 so the residue files must have been causing conflict with 3.8 version. Can the developer please make it compatible with all the latest libraries like matplotlib,scipi etc