mrmeku/brackets-closure-linter

ImportError: No module named gflags

Opened this issue · 2 comments

I've tried installing the latest version of this extension in Brackets and I get the following error when viewing an empty javascript file:

gjslint terminated with error: Traceback (most recent call last): File "C:\Users\peter\AppData\Roaming\Brackets\extensions\user\com.github.mrmeku.closure-linter\python\closure_linter\gjslint.py", line 46, in import gflags as flags ImportError: No module named gflags

I've got Python 2.7.1 installed and present in the PATH. I'm running Windows 10 64bit.

Installing gflags using PIP worked for me:
pip install python-gflags

Thanks @KenRud, I've tried that but still seem to encounter the error. I'm going to try removing Python from my machine and reinstalling as I have several versions currently. I think I need to improve my knowledge of Python as well, currently I'm not that familiar with how it operates.