erp12 / pyshgp

Push Genetic Programming in Python.
http://erp12.github.io/pyshgp
MIT License
74 stars 23 forks source link

"estimators has no attribute solution" #129

Closed RedBeansAndRice closed 5 years ago

RedBeansAndRice commented 5 years ago

Hey, so this might be entirely because of my current mangled anaconda environments situation, but amidst spontaneously combusting kernels, I managed to get an environment that seemed to be running pyshgp effectively, but I tried running the string annealing problem and it ran all the generations, got errors, auto- simplified and everything and then crashed saying: ---> 57 print(est.solution.get_program().code)

AttributeError: 'PushEstimator' object has no attribute 'solution'

Ill try a couple other problems and report back.

RedBeansAndRice commented 5 years ago

just tried it on the regular string example, solved it after two generations, autosimplified and then crashed the same way.

RedBeansAndRice commented 5 years ago

yep completely broken conda issues. my bad.