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调用问题 #34

Closed
liushawulan opened this issue Jul 21, 2021 · 3 comments
Closed

python调用问题 #34

liushawulan opened this issue Jul 21, 2021 · 3 comments

Comments

@liushawulan
Copy link

最近瞎安装command line tools, 发现翻译程式调用的不是系统python, 而是xcode下的。我删除了command line tool, 但是goldendict报错
image
尽管直接在iterm2中
image
这种问题请问老哥怎么办?
谢谢。

@liushawulan
Copy link
Author

重新安装了command line tool, 又回到老提示:
image
起初goldendict调用的python3 好好的。都是这两天瞎安装。

@xinebf
Copy link
Owner

xinebf commented Jul 21, 2021

在 python -m googletranslate ... 这个命令中的 python 换成安装 python 的完整路径试试.
终端中输入 which python3 可以看 python3 在哪个路径下.

@liushawulan
Copy link
Author

which python3

谢谢老哥,按照你的提示,我用 /Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 替代python3, 就可以了。:)

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