Skip to content
This repository was archived by the owner on Jun 7, 2018. It is now read-only.
This repository was archived by the owner on Jun 7, 2018. It is now read-only.

ImportError of docutils and unicodedata #26

@JokerQyou

Description

@JokerQyou

I found this plugin this morning, and tried to use it for rst file previewing, but it keeps alerting ImportError about docutils. Yet I have docutils properly installed to the only Python version (which is 2.7) I have.

And I have figured out a way to make it working. For those using Package Control on Windows, press Ctrl+`` to enter the Python console of Sublime Text, and enter sys.path, within the path list there would be a u'Path\to\Installed\Sublime Text 2\Data\Packages\Package Control\lib\all'. And copy the folder named docutils(you'll get it after installingdocutilsby usingpip install docutils) from Lib\site-packages` in your Python installation path to this folder (you could create it yourself if it's not there), and it's done.

You might still get ImportError about unicodedata module, that's easy, copy the unicodedata.pyd file in your Sublime Text installation folder to Path\\to\\Installed\\Sublime Text 2\\Data\\Packages\\Package Control\\lib\\all solves this.

And with a screenshot.
image

Hope this would help those using Sublime Text 2 on Windows with Package Control. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions