math2001 / MarkdownLivePreview

A Sublime Text 3 plugin to preview your markdown as you type
https://math2001.github.io/MarkdownLivePreview
MIT License
304 stars 37 forks source link

BUG: Dependency problem occured #27

Closed s-w2v3 closed 7 years ago

s-w2v3 commented 7 years ago

Hi. I manually installed plugin in ST3130... and got this error in ST console:

...
reloading plugin MarkdownLivePreview.image_manager
Traceback (most recent call last):
  File "/usr/lib64/sublime-text-3dev/sublime_plugin.py", line 107, in reload_plugin
    m = imp.reload(m)
  File "/usr/lib64/sublime-text-3dev/python3.3.zip/imp.py", line 276, in reload
    module.__loader__.load_module(name)
  File "", line 584, in _check_name_wrapper
  File "", line 1022, in load_module
  File "", line 1003, in load_module
  File "", line 560, in module_for_loader_wrapper
  File "", line 868, in _load_module
  File "", line 313, in _call_with_frames_removed
  File "/home/user/.config/sublime-text-3/Packages/MarkdownLivePreview/image_manager.py", line 8, in 
    from .functions import *
  File "/home/user/.config/sublime-text-3/Packages/MarkdownLivePreview/functions.py", line 8, in 
    from bs4 import BeautifulSoup, Comment as html_comment
ImportError: No module named 'bs4'
...

It turns out that there are external dependencies to beautifulsoup4 package.

math2001 commented 7 years ago

You need to satisfy the dependency. Package Control lets you do this really easily from the command palette Package Control: Satisfy Dependencies.