Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在python中可以用,但是在goldendict中报错 #42

Open
hccz95 opened this issue Jun 30, 2022 · 1 comment
Open

在python中可以用,但是在goldendict中报错 #42

hccz95 opened this issue Jun 30, 2022 · 1 comment

Comments

@hccz95
Copy link

hccz95 commented Jun 30, 2022

报错信息:
Errrrrrrrrror: HTTPSConnectionPool(host='translate.googleapis.com', port=443): Max retries exceeded with url: /translate_a/single?client=gtx&sl=auto&tl=zh-CN&hl=en&dt=at&dt=bd&dt=ex&dt=ld&dt=md&dt=qca&dt=rw&dt=rm&dt=sos&dt=ss&dt=t&ssel=0&tsel=0&kc=1&tk=772786.881152&q=volumes%29 (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))

@hccz95
Copy link
Author

hccz95 commented Jun 30, 2022

此问题已解决,原因是需要设置环境变量,在Path中加入以下路径:
D:\Anaconda3;
D:\Anaconda3\Scripts;
D:\Anaconda3\Library\bin;

但此时的翻译结果中,中文全都是乱码,如果把-r属性设置为text则正常显示

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant