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.Deployment.Installer.SetupPython(true)reinstall fail。 #62

Open
xxl-cc opened this issue Feb 5, 2024 · 4 comments
Open

Python.Deployment.Installer.SetupPython(true)reinstall fail。 #62

xxl-cc opened this issue Feb 5, 2024 · 4 comments

Comments

@xxl-cc
Copy link

xxl-cc commented Feb 5, 2024

Python Deployment Installer SetupPython (true) does not reinstall Python, and if there are existing files, an exception will be thrown.

@henon
Copy link
Owner

henon commented Feb 5, 2024

Can you single step the code in debug mode to find out why? Maybe you can PR a fix

@budgetdevv
Copy link

budgetdevv commented Mar 6, 2024

This seems to be the cause:

SCR-20240306-tvyw

@xrp1911
Copy link

xrp1911 commented Dec 31, 2024

Same for me. Installer does not work.
Python.Included.Installer.SetupPython(True).Wait()
just hangs and waits forever.
Does not work with 'False' either. Complains about 3.11 DLL being bad image. Tested in 32bit and 64bit Windows app.

When I remove everything related to Python.Included, I can successfully define my own runtime DLL path
Runtime.PythonDLL = "c:\full\path\to\python-3.12.8-embed-win32\python312.dll"
and only in that case
PythonEngine.Initialize()
works

@henon
Copy link
Owner

henon commented Dec 31, 2024

@xrp1911 if you get the source code from github and single step into the installation methods (they are not complex) you could find out the issue and potentially improve the library. Only you guys who experience the problem can do this. Thanks

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

4 participants