PyPlot.jl icon indicating copy to clipboard operation
PyPlot.jl copied to clipboard

PyPlot crashes Julia 1.0

Open JianghuiDu opened this issue 6 years ago • 2 comments

For some reason my PyPlot started to crash Julia. When calling using PyPlot Julia crashes. No report, no error message. I tried reinstalling, recompiling, nothing works...

JianghuiDu avatar Oct 12 '18 00:10 JianghuiDu

This time it reports this

Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x563bf76d -- PyType_IsSubtype at C:\Users\JD\.julia\packages\Conda\hsaaN\deps\usr\python36.dll (unknown line)
in expression starting at no file:0
PyType_IsSubtype at C:\Users\JD\.julia\packages\Conda\hsaaN\deps\usr\python36.dll (unknown line)
Allocations: 10180018 (Pool: 10178364; Big: 1654); GC: 21

JianghuiDu avatar Oct 12 '18 00:10 JianghuiDu

You could try with Python 2

ENV["CONDA_JL_VERSION"]="2"
import Pkg
Pkg.build("Conda")
Pkg.build("PyCall")
using PyPlot

stevengj avatar Oct 12 '18 01:10 stevengj