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

Installation difficulties on Windows

Open finmod opened this issue 8 months ago • 1 comments

On Windows, this error code appears with all exe files: gnuplot.exe, wgnuplot.exe and wgnuplot_pipes.exe.

"ErrorException("Can't identify gnuplot version") [33m[1m┌ [22m[39m[33m[1mWarning: [22m[39mEnabling dry sessions [33m[1m└ [22m[39m[90m@ Gnuplot C:\Users\Denis.julia\packages\Gnuplot\lL0gK\src\Gnuplot.jl:86[39m"

ENV["PATH"] is :

"C:\Program Files\Eclipse Adoptium\jdk-17.0.6.10-hotspot\bin;C:\Program Files\Microsoft\jdk-17.0.3.7-hotspot\bin;C:\Program Files\jdk-18.0.1.1\bin;C:\Users\Denis\Downloads\C:\Users\openjdk-18.0.1.1\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\bin;C:\Progr"[93m[1m ⋯ 1310 bytes ⋯ [22m[39m"rs\Denis\AppData\Local\Programs\Python\Launcher\;C:\Users\Denis\AppData\Local\Microsoft\WindowsApps;C:\Users\Denis\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Denis\AppData\Local\Programs\Microsoft VS Code Insiders\bin;C:\Program Files\gnuplot\bin\gnuplot.exe;"

Could not find any satisfactory solution in the Issues and on the web.

finmod avatar May 04 '25 18:05 finmod

Please ensure you can spawn the gnuplot process from Julia with the following command:

using Gnuplot
run(Cmd([Gnuplot.options.cmd]))

If the above does not work the problem is in your gnuplot installation, not in Julia.

If needed, you can customize the command being used to spawn gnuplot with (e.g.):

Gnuplot.options.cmd = "/path/to/your/gnuplot/executable"

gcalderone avatar May 05 '25 08:05 gcalderone