editorconfig / editorconfig-gedit

EditorConfig plugin for Gedit
http://editorconfig.org
Other
54 stars 13 forks source link

Load plugin fail in Ubuntu 16.04 x64 #9

Closed linquize closed 7 years ago

linquize commented 8 years ago

Load plugin fail in Ubuntu 16.04 x64

(gedit:5481): libpeas-WARNING **: Error importing plugin 'editorconfig_gedit3':
Traceback (most recent call last):
  File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 665, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/home/user/.local/share/gedit/plugins/editorconfig_gedit3.py", line 1, in <module>
    from editorconfig_plugin.gedit3 import *
  File "/home/user/.local/share/gedit/plugins/editorconfig_plugin/gedit3.py", line 27, in <module>
    from .shared import EditorConfigPluginMixin
  File "/home/user/.local/share/gedit/plugins/editorconfig_plugin/shared.py", line 9, in <module>
    from editorconfig import get_properties, EditorConfigError
ImportError: No module named 'editorconfig'
xuhdev commented 8 years ago

Did you install the editorconfig python package? pip3 install editorconfig

linquize commented 8 years ago

No, I don't.

xuhdev commented 8 years ago

Can you please install it and try again?

webmaster128 commented 7 years ago

I got the same issue on Ubuntu 16.04. pip3 install editorconfig fixed it. I think this one can be closed.