question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'module' object has no attribute 'Config' + dead links in 0.9 documentation.

See original GitHub issue

Short comment upfront, several links in the 0.9 documentation are dead ends (e.g. ‘‘source archive for release 0.9.’’)

I installed neat-python 0.9 via pip and try to use the xor example, however, I get the following error that seems to be related to the config-feedforward.ini file but cant figure out the problem :

Traceback (most recent call last): File "evolve-feedforward.py", line 72, in <module> run(config_path) File "evolve-feedforward.py", line 26, in run config = neat.Config(neat.DefaultGenome, neat.DefaultReproduction, AttributeError: 'module' object has no attribute 'Config'

I’m using Python 2.7.10

Many thanks for your help.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
evolvingfridgecommented, Jan 8, 2017

@CodeReclaimers your welcome, sorry to hear you where sick, feel better !

0reactions
evolvingfridgecommented, Jan 29, 2017

@cafawo, to fix graphviz you need to do fallowing:

  1. download and install graphviz from http://www.graphviz.org/Download_windows.php
  2. Install python package: pip install graphviz
  3. Go To: Control Panel\System and Security\System and click on “Advanced System Settings” On “Advanced Tab” click on “Environment Variables” In System Variables Find Variable “Path” and Click “Edit” !! WARNING DO NOT DELETE VARIABLE VALUES !!! At the end of the line add “;C:"your installation path” \Graphviz2.38\bin" (note a semicolumn)
  4. Logout/Login
  5. Enjoy !
Read more comments on GitHub >

github_iconTop Results From Across the Web

AttributeError: 'module' object has no attribute 'config'
What happens when you try without the import logging in the child process? The error message indicates that it's trying to use a...
Read more >
unexpected error - 'NoneType' object has no attribute 'flush' ...
Hi, Trying to use DVC on windows, got the error below when trying to track a data file with DVC. Any idea of...
Read more >
API - Flask 0.9 documentation - Read the Docs
The flask object implements a WSGI application and acts as the central object. It is passed the name of the module or package...
Read more >
Changelog
js JavaScript frameworks. These frameworks are no longer be automatically injected into themes from Sphinx 6.0. If you develop a theme or extension...
Read more >
Bug listing with status RESOLVED with resolution TEST- ...
configure isn't using config options" status:RESOLVED ... AttributeError: 'NoneType' object has no attribute 'startswith'" status:RESOLVED ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found