neat-python
neat-python copied to clipboard
Unable to get visualize.py to work with the example code given in evolve-feedforward.py
I attempt to run the code derived from evolve-feedforward.py as is, installing the visualize module on Pycharm, using neat-python 0.92, only to be met with AttributeError: module 'visualize' has no attribute 'net_draw'. I do not know how to fix this error, and have tried running visualize.py separately, but with no result other than a 0 error exit code.
Please help!
Hi, I ran into the same issue and found a solution, so here it goes:
i had to copy the content of visualize.py ( https://raw.githubusercontent.com/CodeReclaimers/neat-python/master/examples/xor/visualize.py ) to the working directory and pip install graphviz then it worked :)