We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
这个需要配环境变量吗
The text was updated successfully, but these errors were encountered:
需要的,先看下安装信息:
$pip3 list $pip3 show mkTranslation Name: mkTranslation Version: 1.3.1 Home-page: https://github.com/mythkiven/mkTranslate Author: MythKiven Author-email: [email protected] License: MIT Location: /usr/local/lib/python3.7/site-packages Requires: requests
安装位置: /usr/local/lib/,对应的命令行命令 translate 就在 /usr/local/bin/目录下
然后看下系统配置的路径是否包含/usr/local/bin/: $echo $PATH 如果没有 /usr/local/bin/,就需要添加路径:
/usr/local/bin/
$echo $PATH
$vim ~/.bash_profile export PATH="/usr/local/bin:$PATH" $source ~/.bash_profile $which translate /usr/local/bin/translate 如果安装路径不是 /usr/local/lib/ 也没关系,添加路径的套路是一样的
Sorry, something went wrong.
No branches or pull requests
这个需要配环境变量吗
The text was updated successfully, but these errors were encountered: