Pyjulia not working on Julia 1.6
See original GitHub issueWhen I try to install and work with Python3.9.3 with Julia 1.6, the command
julia.install()
works well, but later
from julia import Base # or
Pkg,Main…etc
leads to segmentation fail, and python exits without other error messages inside terminal.
Then I reinstalled julia 1.5, all commands works well.
System: MacOS Big Sur with Command Line Tools
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:11 (2 by maintainers)
Top Results From Across the Web
Troubleshooting — PyJulia 0.6.0 documentation
Initialize PyJulia (e.g., by from julia import Main ) as early as possible. Note that just importing PyJulia ( import julia ) does...
Read more >Segfault when jl_init in R (also python?) with julia 1.6 on macOS
I will open an issue in julia repo since it seems to be some problem with jl_init in julia dll on mac instead...
Read more >can't get pyjulia to work - Google Groups
Julia Calling Python Calling Julia... ... Now, I'm not sure what changed, at least Julia 0.4 came along and something broke pyjulia. You...
Read more >PyJulia not working with Julia 1.6 and Python 3.9 - Bountysource
Coming soon: A brand new website interface for an even better experience!
Read more >How to call Julia code from Python | by Abel Soares Siqueira
In the third post, we will solve the same problem in Julia, optimize the Julia ... To run that environment with Python 3.10...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

For reference, there is a similar problem for 1.6 with JuliaCall in R on macOS: https://github.com/Non-Contradiction/JuliaCall/issues/164
So it seems to be a bug in Julia, the issue is being tracked here: https://github.com/JuliaLang/julia/issues/40246
I have the same issue: MacOS Big Sur. Python 3.8.8 [Clang 10.0.0 ] :: Anaconda, Inc. on darwin julia version 1.6.0