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

Python lib determination is not platform independent #2050

Open
trittsv opened this issue Jun 26, 2024 · 1 comment
Open

Python lib determination is not platform independent #2050

trittsv opened this issue Jun 26, 2024 · 1 comment

Comments

@trittsv
Copy link
Contributor

trittsv commented Jun 26, 2024

It uses python3 executable to determine the python libs, but on windows there is no python3.exe.
The windows python3 installer creates only python.exe.

See here:

if (run_library_locator("python3 -m cyclonedds.__idlc__", &file) != 0) {

Of course a easy workaround is to duplicate the python.exe on windows and rename it to python3.exe ...

@eboasson
Copy link
Contributor

What could go wrong if, on failure of the existing test, we simply tried again but using plain python? It would still need to have cyclonedds.__idlc__ available and so even if that causes it to start python 2 it seems to me it should be ok.

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

2 participants