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

Raise warning on statically-linked Python binaries #237

Closed
wants to merge 6 commits into from
Closed

Conversation

MilesCranmer
Copy link
Owner

Time-to-first-search is very slow on statically-linked versions of Python (such as packaged with conda), as precompiled code cannot be used, so things are compiled from scratch. I think this adds some friction to the user experience, so this PR introduces a warning that recommends the user try pyenv if startup time is important.

When JuliaPy/pyjulia#496 is solved, this warning is no longer needed.

See conda-forge/python-feedstock#222 for the discussion on the conda page.

@mkitti
Copy link
Contributor

mkitti commented Dec 10, 2022

Have you ever tried a version that uses JuliaCall / PythonCall instead of pyjulia / PyCall?

@MilesCranmer
Copy link
Owner Author

I haven't yet, no. But I suppose it would be easy to try? The only tricky parts would be changing the project management/installation, as well as some of the lower-level PyJulia calls like JuliaInfo, initialization kwargs, etc.

@MilesCranmer
Copy link
Owner Author

MilesCranmer commented Dec 10, 2022

Edit: posting this instead in the issue #238 rather than here.

@MilesCranmer
Copy link
Owner Author

Added in 49ecfff

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