python - 多语言 ubuntu 无法下载语言文件

标签 python python-3.x ubuntu ubuntu-18.04 polyglot

我已经使用 ubuntu 系统安装了多语言

sudo apt-get install polyglot

还安装了依赖项

sudo apt-get install -y libicu-dev python3-pip

当我在控制台中运行多语言命令时

polyglot polyglot.ini download LANG:en

给我以下错误

tellusererror POLYGLOT: pipex_open(): execvp(): /home/userxxx/Projects/nlp_server/nlpserver: Permission denied

nlpserver文件夹权限为777

请帮忙!

最佳答案

pip install -U git+https://github.com/aboSamoor/polyglot.git@master

使用此命令安装多语言并开始工作。

https://polyglot.readthedocs.io/en/latest/Installation.html

关于python - 多语言 ubuntu 无法下载语言文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57231523/

相关文章:

Python 将 True False 矩阵转换为图像

python - 为什么 time.sleep() 在开头以 cv2.VideoCapture() 失败?

c - Python调用C语言时,返回值异常

MySQL 服务器正在运行但正在获取 "Can' t Connect”

python - 如何解释python3的帮助输出?

python-3.x - 使用 BeautifulSoup 和 ftlib 访问 ftp 网站时出错

python - 在 tkinter ttk TreeView 中格式化单个单元格/项目而不是整行

node.js - 无法连接到 ubuntu xenial 上的 nodejs

python-3.x - 升级 Python 版本以运行和创建 Sagemaker Endpoint 的自定义容器

python - 将回归线添加到 shap.dependence_plot