Using vision API from appengine python standard environment

43 views
Skip to first unread message

Suresh Jeevanandam

unread,
Sep 18, 2017, 2:11:02 PM9/18/17
to Google App Engine
I am trying to use OCR features of Vision API from Python Standard Environment. I installed using pip into the lib directory.
It does not work and fails with this error message. I see few discussions related to this in the github->issues. I am wondering what would be the recommended way to do this today.

Here is the error message I receive:

  File "/base/data/home/runtimes/python27_experiment/python27_dist/lib/python2.7/multiprocessing/util.py", line 41, in <module>
    from subprocess import _args_from_interpreter_flags
ImportError: cannot import name _args_from_interpreter_flags

Shivam(Google Cloud Support)

unread,
Sep 18, 2017, 4:32:56 PM9/18/17
to Google App Engine
Standard App Engine Python doesn't support multiprocessing. Consider using App Engine flex if you want to use multiprocessing. 

Also, this sounds like a good post for public issue tracker as Google Groups discussion forum is meant for open-ended discussions. 
Reply all
Reply to author
Forward
0 new messages