JuliaPy / JuliaPy/PyPlot.jl

PyPlot needs to be reinstalled after Julia is interrupted

オープン
#460 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
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).

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。