Skip to content

Import Error when importing complex Python libraries #3388

Discussion options

You must be logged in to vote

I see. It's not something we've directly got a solution for at the moment. I think zipping and including in your lib as a byte stream is the way to go. If you want to avoid unzipping you might be able to add a loader to the import system which can use the zipimport mechanism to read directly from the bytes embedded in your lib, but that's pure speculation.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Embers-of-the-Fire
Comment options

@davidhewitt
Comment options

Answer selected by Embers-of-the-Fire
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants