youdao-dictionary连接不上

使用的是doom emacs,只配了(package! youdao-dictionary)。 报错信息如下: Contacting host: fanyi.youdao.com:80 youdao-dictionary–parse-response: Problem connecting to the server

没有连接上服务器,过一会重试下应该就好了

有道智云,申请账号,把app_key,secret_key存为环境变量。

只有app_id和app_key 以下设置没有效果…… (setq app_id “xxx”) (setq app_key “xxx”)

请问是哪里有问题吗?

export YOUDAO_APP_KEY=''

export YOUDAO_SECRET_KEY=''

上面放.zshrc或.bashrc

如果是windows,直接环境变量设置就可以了

  (setq youdao-dictionary-app-key "xxxx")
  (setq youdao-dictionary-secret-key "yyyy")