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

查询报错 #21

Closed
qpmcool opened this issue May 4, 2020 · 2 comments
Closed

查询报错 #21

qpmcool opened this issue May 4, 2020 · 2 comments

Comments

@qpmcool
Copy link

qpmcool commented May 4, 2020

查询错误:程序返回,退出代码为 1. Traceback (most recent call last): File "D:\GoldenDict\googlet\googletranslate\googletranslate.py", line 20, in from .googletranslatetk import Token ImportError: attempted relative import with no known parent package

@xinebf
Copy link
Owner

xinebf commented May 4, 2020

使用方式有点不对, 用下面命令安装的,

pip install google-translate-for-goldendict

命令行需要填成:

python -m googletranslate.googletranslate zh-CN %GDWORD%

@qpmcool
Copy link
Author

qpmcool commented May 4, 2020

已经可以了。非常感谢。觉得应该更新一下readme。

@qpmcool qpmcool closed this as completed May 4, 2020
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

2 participants