Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in setup.py #20

Closed
anunknowperson opened this issue Jun 27, 2023 · 3 comments
Closed

Errors in setup.py #20

anunknowperson opened this issue Jun 27, 2023 · 3 comments

Comments

@anunknowperson
Copy link

I get these errors when I try to run setup.py. Thank you in advance for your great work.

H:\GDMP>setup.py --godot-binary "C:\Users\Sereja\Desktop\Godot_v4.0.1-stable_win64.exe"
Dumping Extension API
Godot Engine v4.0.1.stable.official.cacf49999 - https://godotengine.org

Traceback (most recent call last):
File "H:\GDMP\setup.py", line 139, in
generate_bindings(api_json_path)
File "H:\GDMP\setup.py", line 31, in generate_bindings
import binding_generator as bg
ModuleNotFoundError: No module named 'binding_generator'

H:\GDMP>setup.py --extension-api-json "H:\GDMP\extension_api.json"
Traceback (most recent call last):
File "H:\GDMP\setup.py", line 139, in
generate_bindings(api_json_path)
File "H:\GDMP\setup.py", line 31, in generate_bindings
import binding_generator as bg
ModuleNotFoundError: No module named 'binding_generator'

@j20001970
Copy link
Owner

Please make sure there are binding_generator.py in godot-cpp submodule.
Maybe you forgot to initialize the submodules:

git submodule update --init --recursive

@GeorgeS2019
Copy link

Go through this issue
#1

@anunknowperson
Copy link
Author

Please make sure there are binding_generator.py in godot-cpp submodule. Maybe you forgot to initialize the submodules:

git submodule update --init --recursive

Thanks, I used to download via github because I had some problems with the sub-modules. It's working now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants