Jump to content
Sign in to follow this  
SwiftExpat

Validate python embeddable distribution - Test Tool

Recommended Posts

For anyone who struggles with py embeddable in the future, here are some working executables for you to troubleshoot with.

Validate your python embeddable setup, confirm package installation and test your imports.

 

FMX and VCL X64 compiled executables in the releases :

 

Source code  & sample "_pth" file is available in the GitHub Repo :

https://github.com/SwiftExpat/ValidatePythonEmbeddable

 

Usage:

  1. Click on browse DLL , this will set the dllname and path correctly and then allow you to adjust other component properties.
  2. Then load DLL

image.thumb.png.70fa3292ee7e1c8c3846c7c8621594c5.png

 

PIP List

Pip results can be confusing, so I have automated the PIP list command to ensure it runs from the embeddedable dist.

image.thumb.png.7205275865248b47ee8fe21fc0c8f6f1.png

 

More should be done for this, but this is a start and feel free to fork the repository or make suggestions.

Edited by SwiftExpat
Clarify releases
  • Like 1
  • Thanks 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×