0 votes

Hi, I am experiencing the following import error when compiling the latest stable source code for windows (v.2.1.3) . I compiled the engine successfully several times last year with the same setup. Can anyone help me identify what might be missing or what I am doing wrong? Thanks.


in Engine by (99 points)

1 Answer

0 votes

I think I have found the answer myself.

I think at the point where the error is thrown, the SConstruct file is looping through the modules in c:\godot\modules , looking for the config.py file for each module:

for x in module_list:
    if env['module_' + x + '_enabled'] != "yes":
    tmppath = "./modules/" + x
    env.current_module = x
    import config
    if (config.can_build(selected_platform)):

The config.py file should be in the root of each named module folder. I had copied a custom module incorrectly, leaving the config file in a sub-folder. This seems to have been the cause of the error.

by (99 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.