Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NotImplementedError: The gflags library must be installed to use tools.run(). Please install gflags or preferrably switch to using tools.run_flow()

I am developing GAE django non-rel app. I am facing gflags related error.

NotImplementedError: The gflags library must be installed to use tools.run(). Please install gflags or preferrably switch to using tools.run_flow()

To solve this error, i downloaded glags.py and gflags_validators.py and put them into my project's root folder.

By above solution i got another error.

EOFError at /pages
EOF when reading a line

Exception Value:
EOF when reading a line
Exception Location: D:\jatin\Project\GAE_django\non-rel_django1.5\oauth2client\old_run.py in run,  line 149
like image 256
user3932031 Avatar asked Sep 09 '14 13:09

user3932031


1 Answers

Try this

pip install python-gflags

or

sudo easy_install --upgrade python-gflags
like image 82
K Neeraj Lal Avatar answered Oct 27 '22 23:10

K Neeraj Lal