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

ModuleNotFoundError: No module named 'gi' #32

Open
phongnhhn92 opened this issue Jun 24, 2020 · 1 comment
Open

ModuleNotFoundError: No module named 'gi' #32

phongnhhn92 opened this issue Jun 24, 2020 · 1 comment

Comments

@phongnhhn92
Copy link

Hello,
I have been trying to use this plugin with Inkscape but when I receive this error:

Traceback (most recent call last):
  File "latextext_gtk3.py", line 6, in <module>
    import gi
ModuleNotFoundError: No module named 'gi'

image

I have tried to import in my terminal and gi can be imported.
image

Please help me !

@andrek10
Copy link

Hi,

As far as I know, this extension requires Python 2.7 and is currently only available for Inkscape version 0.92.5 or below.
So you would have to check if gi can be imported in Python 2.7 instead. And check your Inkscape version if it is correct.
Finally, I see you use Anaconda environment. LaTeXText will use system-wide Python 2.7, not an Anaconda environment.

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