PyPlot.jl
PyPlot.jl copied to clipboard
PyCall and PyPlot are crashing in Julia 1.10
PyCall and PyPlot are crashing in REPL /terminal of Juliaup (Julia 1.10.2) and Vscode in windows 11. Here is the error generated while trying to plot sin(x).
using PyCall,PyPlot pygui(true) x=LinRange(0,2pi,100)plot(x,sin.(x))
The terminal process "C:\Users\adeto.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\bin\julia.exe '-i', '--banner=no', '--project=c:\Users\adeto\My Drive\New files\JJULLIA', 'c:\Users\adeto.vscode\extensions\julialang.language-julia-1.75.2\scripts\terminalserver\terminalserver.jl', '.\pipe\vsc-jl-repl-8079a73b-6db7-4fb4-948e-25eb58c5e36e', '.\pipe\vsc-jl-cr-5815c0ff-3008-48d5-a472-3db500e536c1', 'USE_REVISE=true', 'USE_PLOTPANE=true', 'USE_PROGRESS=true', 'ENABLE_SHELL_INTEGRATION=true', 'DEBUG_MODE=false'" terminated with exit code: -1066598274.
Which Python version are you using? How was it installed? And try to test it in a Julia REPL outside of vscode to be sure that this is not a vscode problem.
Works fine for me on Linux and on Windows 10...
I use Conda.jl. Kindly guide me on how to check the Python version working with my Julia.
On Sun, 17 Mar 2024, 10:07 pm Uwe Fechner, @.***> wrote:
Which Python version are you using? How was it installed?
Works fine for me on Linux and on Windows 10...
— Reply to this email directly, view it on GitHub https://github.com/JuliaPy/PyPlot.jl/issues/580#issuecomment-2002601178, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK4NBYYUQWAZ6L54JK5O3QTYYXZXRAVCNFSM6AAAAABEWKDL2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSGYYDCMJXHA . You are receiving this because you authored the thread.Message ID: @.***>
I used the command using PyCall PyCall.pyversion
The result is v"3.10.6".
On Sun, 17 Mar 2024, 11:43 pm Rasheed Adetona, @.***> wrote:
I use Conda.jl. Kindly guide me on how to check the Python version working with my Julia.
On Sun, 17 Mar 2024, 10:07 pm Uwe Fechner, @.***> wrote:
Which Python version are you using? How was it installed?
Works fine for me on Linux and on Windows 10...
— Reply to this email directly, view it on GitHub https://github.com/JuliaPy/PyPlot.jl/issues/580#issuecomment-2002601178, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK4NBYYUQWAZ6L54JK5O3QTYYXZXRAVCNFSM6AAAAABEWKDL2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSGYYDCMJXHA . You are receiving this because you authored the thread.Message ID: @.***>
I have a similar error in julia 1.10.0 on Windows with python 3.10.13
julia> PyPlot.PyCall.pyversion
v"3.10.13"
Full error
``` julia> using PyPlotjulia> plot(1:10)
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks. Exception: UNKNOWN at 0x7ffa6b41cf19 -- RaiseException at C:\Windows\System32\KERNELBASE.dll (unknown line) in expression starting at none:0 RaiseException at C:\Windows\System32\KERNELBASE.dll (unknown line) unknown function (ip: 00007ff9acf00145) unknown function (ip: 00007ff9acf05434) unknown function (ip: 00007ff9ab047b10) unknown function (ip: 00007ff9ab0bccd4) unknown function (ip: 00007ff9b1dddabf) unknown function (ip: 00007ff9b1f676f3) unknown function (ip: 00007ff9efc84953) unknown function (ip: 00007ff9efc2d7fb) unknown function (ip: 00007ff9efc302b1) PyCFunction_GetFlags at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) unknown function (ip: 00007ff9efbe2028) unknown function (ip: 00007ff9efbe2853) PyOS_URandomNonblock at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyOS_URandomNonblock at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyOS_URandomNonblock at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyOS_URandomNonblock at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyOS_URandomNonblock at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyOS_URandomNonblock at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyOS_URandomNonblock at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyCell_Set at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyMethod_Self at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyOS_URandomNonblock at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyOS_URandomNonblock at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyCell_Set at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyMethod_Self at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) unknown function (ip: 00007ff9ef52448d) unknown function (ip: 00007ff9eccdbadb) unknown function (ip: 00007ff9ecde7384) unknown function (ip: 00007ff9ecde673b) unknown function (ip: 00007ff9ecda0971) unknown function (ip: 00007ff9e9caac17) unknown function (ip: 00007ff9ecde673b) unknown function (ip: 00007ff9ecda0971) unknown function (ip: 00007ff9ef526550) PyCFunction_GetFlags at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) macro expansion at C:\Users\abarth.julia\packages\PyCall\1gn3u\src\exception.jl:108 [inlined] #107 at C:\Users\abarth.julia\packages\PyCall\1gn3u\src\pyfncall.jl:43 [inlined] disable_sigint at .\c.jl:473 [inlined] __pycall! at C:\Users\abarth.julia\packages\PyCall\1gn3u\src\pyfncall.jl:42 [inlined] _pycall! at C:\Users\abarth.julia\packages\PyCall\1gn3u\src\pyfncall.jl:29 _pycall! at C:\Users\abarth.julia\packages\PyCall\1gn3u\src\pyfncall.jl:11 [inlined] #pycall#112 at C:\Users\abarth.julia\packages\PyCall\1gn3u\src\pyfncall.jl:80 [inlined] pycall at C:\Users\abarth.julia\packages\PyCall\1gn3u\src\pyfncall.jl:80 unknown function (ip: 0000020df25bde76) #7 at C:\Users\abarth.julia\packages\PyCall\1gn3u\src\gui.jl:208 #726 at .\asyncevent.jl:306 unknown function (ip: 0000020df25b401b) jl_apply at C:/workdir/src\julia.h:1982 [inlined] start_task at C:/workdir/src\task.c:1238 Allocations: 2907 (Pool: 2899; Big: 8); GC: 0
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 0x7ff9e50618ed -- PyUnicode_FromId at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) in expression starting at none:0 PyUnicode_FromId at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) Py_ExitStatusException at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) Py_FinalizeEx at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) Py_Finalize at C:\Users\abarth.julia\packages\PyCall\1gn3u\src\pyinit.jl:125 jfptr_Py_Finalize_7039 at C:\Users\abarth.julia\compiled\v1.10\PyCall\GkzkC_cEBmc.dll (unknown line) _atexit at .\initdefs.jl:428 jfptr__atexit_83240.1 at C:\Users\abarth\AppData\Local\Programs\Julia-1.10.0\lib\julia\sys.dll (unknown line) jl_apply at C:/workdir/src\julia.h:1982 [inlined] ijl_atexit_hook at C:/workdir/src\init.c:280 ijl_exit at C:/workdir/src\init.c:207 jl_exception_handler at C:/workdir/src\signals-win.c:337 [inlined] jl_exception_handler at C:/workdir/src\signals-win.c:229 __julia_personality at C:/workdir/src\win32_ucontext.c:28 _chkstk at C:\Windows\SYSTEM32\ntdll.dll (unknown line) RtlRaiseException at C:\Windows\SYSTEM32\ntdll.dll (unknown line) RtlRaiseException at C:\Windows\SYSTEM32\ntdll.dll (unknown line) RaiseException at C:\Windows\System32\KERNELBASE.dll (unknown line) unknown function (ip: 00007ff9acf00145) unknown function (ip: 00007ff9acf05434) unknown function (ip: 00007ff9ab047b10) unknown function (ip: 00007ff9ab0bccd4) unknown function (ip: 00007ff9b1dddabf) unknown function (ip: 00007ff9b1f676f3) unknown function (ip: 00007ff9efc84953) unknown function (ip: 00007ff9efc2d7fb) unknown function (ip: 00007ff9efc302b1) PyCFunction_GetFlags at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) unknown function (ip: 00007ff9efbe2028) unknown function (ip: 00007ff9efbe2853) PyOS_URandomNonblock at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyOS_URandomNonblock at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyOS_URandomNonblock at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyOS_URandomNonblock at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyOS_URandomNonblock at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyOS_URandomNonblock at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyOS_URandomNonblock at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyCell_Set at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyMethod_Self at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyOS_URandomNonblock at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyOS_URandomNonblock at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_GetFuncDesc at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyEval_EvalFrameDefault at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyFunction_Vectorcall at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyCell_Set at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) PyMethod_Self at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) unknown function (ip: 00007ff9ef52448d) unknown function (ip: 00007ff9eccdbadb) unknown function (ip: 00007ff9ecde7384) unknown function (ip: 00007ff9ecde673b) unknown function (ip: 00007ff9ecda0971) unknown function (ip: 00007ff9e9caac17) unknown function (ip: 00007ff9ecde673b) unknown function (ip: 00007ff9ecda0971) unknown function (ip: 00007ff9ef526550) PyCFunction_GetFlags at C:\Users\abarth.julia\conda\3\x86_64\python310.dll (unknown line) macro expansion at C:\Users\abarth.julia\packages\PyCall\1gn3u\src\exception.jl:108 [inlined] #107 at C:\Users\abarth.julia\packages\PyCall\1gn3u\src\pyfncall.jl:43 [inlined] disable_sigint at .\c.jl:473 [inlined] __pycall! at C:\Users\abarth.julia\packages\PyCall\1gn3u\src\pyfncall.jl:42 [inlined] _pycall! at C:\Users\abarth.julia\packages\PyCall\1gn3u\src\pyfncall.jl:29 _pycall! at C:\Users\abarth.julia\packages\PyCall\1gn3u\src\pyfncall.jl:11 [inlined] #pycall#112 at C:\Users\abarth.julia\packages\PyCall\1gn3u\src\pyfncall.jl:80 [inlined] pycall at C:\Users\abarth.julia\packages\PyCall\1gn3u\src\pyfncall.jl:80 unknown function (ip: 0000020df25bde76) #7 at C:\Users\abarth.julia\packages\PyCall\1gn3u\src\gui.jl:208 #726 at .\asyncevent.jl:306 unknown function (ip: 0000020df25b401b) jl_apply at C:/workdir/src\julia.h:1982 [inlined] start_task at C:/workdir/src\task.c:1238 Allocations: 2907 (Pool: 2899; Big: 8); GC: 0 PS C:\Users\abarth> C:\Users\abarth\AppData\Local\Programs\Julia-1.10.0\bin\julia.exe
</details>
_
If you load DifferentialEquations before PyPlot in Julia 1.10 with Python version 3.10.6 , it works. Otherwise it returns error. See the examples below.
(a) julia> using DifferentialEquations, PyPlot
julia> x=range(0,2pi,100) 0.0:0.06346651825433926:6.283185307179586
julia> plot(x,sin.(x)) 1-element Vector{PyCall.PyObject}: PyObject <matplotlib.lines.Line2D object at 0x0000023A997CFF70>
(b) julia> using PyPlot julia> x=range(0,2pi,100) julia> plot(x,sin.(x)) Terminal crashes
Did you try (as explained in the README):
ENV["PYTHON"]=""
Pkg.build("PyCall")
which will install a version of Python and Matplotlib for Julia projects only?
I just tried it. PyPlot is still crashing.
On Fri, Mar 29, 2024 at 8:53 PM Uwe Fechner @.***> wrote:
Did you try (as explained in the README):
ENV["PYTHON"]="" Pkg.build("PyCall")
which will install a version of Python and Matplotlib for Julia projects only?
— Reply to this email directly, view it on GitHub https://github.com/JuliaPy/PyPlot.jl/issues/580#issuecomment-2027605656, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK4NBY3RNHSAZWWLRKB4LKDY2WTDHAVCNFSM6AAAAABEWKDL2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRXGYYDKNRVGY . You are receiving this because you authored the thread.Message ID: @.***>