关于DPGEN安装时环境变量报错的问题
按照官网教程可能出现以下警告:
WARNING: The script dpgen is installed in '/home/xx/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

意思是没有将环境变量添加到路径,此时为了安全,先将此次安装取消(卸载)。执行:
之后
1、在.bashrc中写入以下环境:
"..."为提示信息,例如我这里可以写为:
2、执行
完成,再次安装即可。