PyPlot needs to be reinstalled after Julia is interrupted
- 主要语言
- Julia
- 星标
- 488
- 派生
- 90
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hello,
I have Julia 1.2.0 installed with Plots. For installing PyPlot backend without manually installing Python, I followed the instructions in [https://github.com/JuliaPy/PyPlot.jl](url) and did:
`ENV["PYTHON"]=""`
`Pkg.build("PyCall")`
`Pkg.add("PyPlot")`
`using Plots`
`pyplot()`
Then, everything went fine. However, if I interrupt Julia (not with Ctrl+C, but, e.g., when the light suddenly turns off and the computer suddenly shuts down), when I execute Julia again, I receive the following message:
`error compiling __init__: could not load library "/tmp/lib/libpython3.7m.so.1.0"
/tmp/lib/libpython3.7m.so.1.0: cannot open shared object file: No such file or directory`
and I have to reinstall PyPlot with the commands above.
I have the same problem in two computers (one uses Debian Stretch, the other uses Ubuntu).
贡献指南
这个仓库没有索引到贡献指南
调研方向
The report centers on ENV["PYTHON"], Pkg.build("PyCall"), Pkg.add("PyPlot"), and pyplot() after an abrupt Julia shutdown; start by reproducing the restart failure on Julia 1.2.0 with the listed Debian or Ubuntu setup. Done means PyPlot initializes after restart without reinstalling, but no source files or tests are named.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- julia, matplotlib, python
- 领域
- data-visualization
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100