I came across this when attempting to use Emmet (ZenCoding's successor) in NPP. When I check on Emmet in Plugin Manager and attempt to install, it tells me that PythonScript must be installed as well. When I confirm and they install, and I attempt to expand an abbreviation, it fails with "Unknown Exception". Having hacked around on the matter, I found out that when I copy the contents of the plugins/PythonScript directory of the plugin into the corresponding folder of my NPP installation, it begins working flawlessly. This directory is EMPTY when I install PythonScript via the Plugin Manager, but after I do this copy, it contains the "lib" and the "scripts" directories. It appears that the lib directory contains the standard Python libraries, although I am no Python expert.

I am not opposed to having a stripped-down version of Python in the Plugin Manager, but if that is the idea, then why is there no separate Python Libraries and Scripts plugin? If, on the other hand, this is due to some sort of typo or simple oversight somewhere down the line, then simply including them in a Python Plugin Manager install would fix the currently broken Emmet plugin. Of course, if a separate libs plugin is the chosen solution, then the Emmet plugin would need to add a dependency to get it working via the Plugin Manager. This doesn't seem a preferable solution, however, since the entire PythonScript directory from the full installation is only 11.9 MB on disk. With terabyte drives being inexpensive these days, that just doesn't seem like a lot. Thus, for people installing this plugin via the Plugin Manager, IMHO, it would be better to simply include the libraries and scripts; or optionally, a full one with docs folder as well.

 

Last edit: The Shady Watcher 2016-02-18