JuliaPy / PyPlot.jl

Plotting for Julia based on matplotlib.pyplot
https://github.com/JuliaPy/PyPlot.jl
MIT License
475 stars 87 forks source link

PyPlot crashes Julia 1.0 #397

Open JianghuiDu opened 5 years ago

JianghuiDu commented 5 years ago

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 commented 5 years ago

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
stevengj commented 5 years ago

You could try with Python 2

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