Skip to content

Fix Pythonx.initialize_once/1 with custom directory #5

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

Merged
merged 1 commit into from
Dec 30, 2024
Merged

Fix Pythonx.initialize_once/1 with custom directory #5

merged 1 commit into from
Dec 30, 2024

Conversation

jonatanklosko
Copy link
Contributor

Currently using Python.initialize_once("/my/python/dir") sets python home, but still uses the embedded libpython3, which results in init failure if the minor versions differ.

@cocoa-xu
Copy link
Owner

Hi @jonatanklosko thanks for the PR! Sorry it was quite busy before the Christmas holiday...This looks good, I'm going to merge it now.

@cocoa-xu cocoa-xu merged commit 2bb60ed into cocoa-xu:main Dec 30, 2024
2 of 4 checks passed
@jonatanklosko jonatanklosko deleted the jk-init-once branch December 30, 2024 15:40
@jonatanklosko
Copy link
Contributor Author

@cocoa-xu thanks, and no worries! :)

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

Successfully merging this pull request may close these issues.

2 participants