-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Build failing, unable to find Python3 on Windows 10 #1644
Comments
Did you install the development version of Python3? |
Do you have a Python 3.11 installation? The error above says
|
OK, I uninstalled Python 3.12 and installed the latest Python 3.11, with the needed Python dependencies. I tried building again with the same error. This time I helped it with the Thanks for the suggestion to use Python 3.11! Now, I was following Running openage (in devmode) I got to the step:
I got:
I haven't found the docs on flags that openage game accepts. Can you point me to where I can read about those? |
@C3pa Ah, I should probably fix the docs for that. You should first try to run
This will convert the gamedata of the other game files to openage modpacks. After that, you can run
or
to start the engine. The name of the modpack depends on which version you converted. |
I'm so sorry about my stream of errors. After executing:
I got:
|
Could you try adding |
Sorry, after calling it with (where the
I'm still getting:
Do you have a suggestion for some debug logging lines I can add to a certain file to make tracing down which import paths are being checked easier? |
I think the problem might be that Could you try adding |
Different strategy maybe to see if it works at all. Can you download the packaged build from https://github.com/SFTtech/openage/actions/runs/9043283783/artifacts/1493550110 . This should have the dlls in a separate folder when you unpack it. You may still have to use |
All right, I tried running the
Where all of them gave the same error as above:
|
I encountered the same problem.
|
I think I tracked the issue down yesterday. By looking at the .pyd dependency tree, I noticed that the The required .dll files that Python can't find by default seem to be:
So you actually need to add 3 paths to
|
A success. Thanks for digging into this issue! For reference, if somebody else gets stuck here, this worked for me:
Continuing my stream of errors, I tried to start the game:
This errored out with:
Do you know what might be causing this? Also, unrelated to the above:
Should we open an issue about this at Python's repository? |
Could you make a new issue for this? I suspect this is also related to some missing DLL paths. |
python/cpython#69841 is the correct issue I think. As far as I understand, Python can't do much about it, since the last part of the message comes from the OS and there is no info returned about paths or names of the missing dependencies :/ |
Thanks for pointing out.
Sure. We can continue that discussion in #1650. |
Thanks for fixing the issue! For anyone wondering, it's now fine to just call this to start the conversion process on Windows 10:
|
You can even start without |
Hello!
While trying to build the project on Windows 10, I followed the instructions provided at: https://github.com/SFTtech/openage/blob/master/doc/build_instructions/windows_msvc.md#procedure-for-microsoft-windows-users.
I managed to get all the needed dependencies, I got to the following step: https://github.com/SFTtech/openage/blob/master/doc/build_instructions/windows_msvc.md#building-openage
This step is failing with:
Do you have any ideas about what I have missed?
The text was updated successfully, but these errors were encountered: