我试图设置GitStats,但我似乎无法让它在Windows10上使用Git
我将一个环境变量添加到“C:\ Gnuplot”中
安装了Gnuplot:
$ gnuplot --version
gnuplot 5.2 patchlevel 7GitStats:
$ python gitstats ../ ../stats/
'C:\gnuplot\bin' is not recognized as an internal or external command,
operable program or batch file.
[0.04700] >> C:\gnuplot\bin --version
gnuplot not found我怎么才能让它起作用?
发布于 2019-10-26 21:54:12
吉特脚本包括:
# By default, gnuplot is searched from path, but can be overridden with the
# environment variable "GNUPLOT"
gnuplot_cmd = 'gnuplot'
if 'GNUPLOT' in os.environ:
gnuplot_cmd = os.environ['GNUPLOT']这意味着您需要将GNUPLOT设置为gnuplot可执行文件,而不是它的父文件夹(bin)。
set GNUPLOT=C:\gnuplot\bin\gnuplot.exehttps://stackoverflow.com/questions/58572977
复制相似问题