使用pytorch-svgrender 库(https://pytorch-svgrender.readthedocs.io/en/latest/clipfont.html )过程中遇到的 Hydra 库(https://github.com/facebookresearch/hydra)提示的问题
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
解决方案(针对 Linux 系统):
- 打开目标环境下的项目路径下的环境变量配置文件:
nano ~/.bashrc
- 到该文件底部,加入
export HYDRA_FULL_ERROR=1
- 保存改变并退出:保存
crtl + X
,确认Y
,退出Enter / 回车
- 重启终端后解决该报错。