jpfleury / gedit-markdown

Support for Markdown language in gedit
GNU General Public License v3.0
131 stars 29 forks source link

ImportError: No module named 'markdown' #4

Closed ghost closed 8 years ago

ghost commented 9 years ago

Just after installing this extension with ./gedit-markdown.sh install, I opened gedit and the highlighting was working, but when activating the plugin in the preferences, I got a red icon "forbidden sign" with the following error in console :

Traceback (most recent call last):
  File "/home/stephane/.local/share/gedit/plugins/markdown-preview/__init__.py", line 25, in <module>
    import markdown
ImportError: No module named 'markdown'

(gedit:5668): libpeas-WARNING **: Error loading plugin 'markdown-preview'

It seems that I'm trying to activiate a non-existing plugin :-(

Ubuntu 14.04, with gedit 3.10.4 ps : je suis francophone, donc on peut continuer en français.... ;-)

jpfleury commented 9 years ago

J'ai l'impression que le paquet python3-markdown n'est pas installé. Il s'agit d'une dépendance qui doit être installée manuellement.

rlafuente commented 8 years ago

I had this problem too on Debian Testing. apt-get install python3-markdown fixed it for me, but I was only able to figure it by launching Gedit in a terminal and looking at the error. Maybe indicate this step after the installation script ends?

jpfleury commented 8 years ago

@rlafuente: actually, it's written in the Requirements section of the README file.

rlafuente commented 8 years ago

Oof, my bad! Sorry for the noise.

jpfleury commented 8 years ago

No problem. :)