using PyPlot hangs/kills julia 1.8.5 or 1.9.0 on MacOS
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- data-visualization
Hướng nghiên cứu
Tái hiện lỗi bằng các lệnh khởi chạy Julia 1.8/1.9 được cung cấp, LD_LIBRARY_PATH và using Conda, using PyCall, sau đó là using PyPlot trên macOS. Kiểm tra bản cài đặt matplotlib của Conda được báo cáo và xung đột MKL dylib trước đó; được coi là hoàn tất khi using PyPlot hoàn thành mà không bị treo hoặc thoát với Killed: 9.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
using PyPlot hangs or kills julia 1.8.5 or 1.9.0 on MacOS
Synopsis
using PyPlot hangs julia. No progress for >10 hours. No error message. User ^C exits julia with Killed: 9.
With repeated testing, behavior has evolved to crash immediately with Killed: 9, where it had hung.
Demonstration
Carefully recursively force-removed the conda directory $HOME/.julia/conda, which seems to be shared between julia 1.8 and 1.9.
Start julia, making sure dynamic dependencies are consistent with the conda python installation.
LD_LIBRARY_PATH="$HOME/.julia/conda/3/lib" /Applications/Julia-1.8.app/Contents/Resources/julia/bin/julia
or
LD_LIBRARY_PATH="$HOME/.julia/conda/3/lib" /Applications/Julia-1.9.app/Contents/Resources/julia/bin/julia
Make sure julia is using the conda python distribution and build PyCall.
ENV["PYTHON"]=""
]build PyCall
Building Conda ─→ `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/e32a90da027ca45d84678b826fffd3110bb3fc90/build.log`
Building PyCall → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/62f417f6ad727987c755549e9cd88c46578da562/build.log`
...
Quit and restart julia, then run
using PyPlot
Since we started by wiping ~/.julia/conda, matplotlib is not installed. Conda is automatically deployed to install it:
[ Info: Installing matplotlib via the Conda matplotlib package...
[ Info: Running `conda install -y matplotlib` in root environment
...
Executing transaction: done
It hangs there.
Kill julia with ^C -> Killed: 9.
Try again now that matplotlib is installed:
LD_LIBRARY_PATH="$HOME/.julia/conda/3/lib" /Applications/Julia-1.8.app/Contents/Resources/julia/bin/julia
ENV["PYTHON"]=""
using PyPlot
Result: It just hangs immediately. So, I think probably conda installs matplotlib (maybe OK?), but julia is unable to use it.
I have to kill julia with ^C -> Killed: 9.
Trying again.
LD_LIBRARY_PATH="$HOME/.julia/conda/3/lib" /Applications/Julia-1.8.app/Contents/Resources/julia/bin/julia
ENV["PYTHON"]=""
using Conda # returns
using PyCall # returns
using PyPlot # crashes
Killed: 9
Crashes and exits.
Even wiping .julia/conda again, it just crashes now with Killed: 9
Background
PyPlot had previously been working for me.
The first sign of trouble was an MKL dylib conflict error message and crash when running using PyPlot.
Unfortunately after many ^Cs I can't find that error message.
I updated julia's conda after that. Then I got the behavior reported above.
- Ngôn ngữ chính
- Julia
- Star
- 489
- Fork
- 90
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của JuliaPy/PyPlot.jl
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
julia PyPlot support missing dataCó thể đã có người làm @deszoeke đã nhận 667 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
-
colors has no field TwoSlopeNormĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
-
PGF preamble is not usedĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Problem in using PyPlot in JuliaĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Tất cả issue của JuliaPy/PyPlot.jl
Issue tương tự
-
Chains resumed from `initial_state` take `num_warmup + 1` warm-up stepsCó thể đã có người làm @thevolatilebit đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
TuringLang/AbstractMCMC.jl#220 ·
-
found-by-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
exanauts/SparseDirectSolver.jl#92 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`inv` of a dense matrix fails for arrays whose `parent` is not an array of the same kindCó thể đã có người làm @devmotion đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
JuliaLang/LinearAlgebra.jl#1740 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
NumericalEarth/Breeze.jl#1051 ·
Maintainer thường phản hồi trong vòng 1 ngày