yuhldr / ldr-translate

一个linux/ubuntu版本的翻译软件,主打文献翻译(a translate app for ubuntu/linux),使用Gtk3开发,python语言;国内看这里:https://gitee.com/yuhldr/ldr-translate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No module named 'gi'

HatcherRobotics opened this issue · comments

  1. 系统版本

    ubuntu20.04

  2. 软件版本

    1.3.1

  3. 做什么发生的这个问题,是否可以重复出现此问题?

    终端输入ldr
    Traceback (most recent call last):
    File "/opt/ldr-translate/./main.py", line 11, in
    import gi
    ModuleNotFoundError: No module named 'gi'

commented

是不是安装了anaconda之类的python相关包管理

  1. 如果是,请直接点 win 按键在软件里搜索 ldr,选择兰译
  2. 如果没有安装,终端输入 sudo apt install python3-gi 安装相关的依赖