Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not able to import wit api on google app engine #99

Closed
ashishietcs opened this issue Aug 9, 2017 · 0 comments
Closed

not able to import wit api on google app engine #99

ashishietcs opened this issue Aug 9, 2017 · 0 comments

Comments

@ashishietcs
Copy link

I have developed an chatbot which is expected to communicate with wit.ai app. When i execute in standalone, i am able to load wit client and can communicate, but once i upload app on app server, its giving me below error :

Traceback (most recent call last):
File "/google/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 240, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "/google/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 299, in _LoadHandler
handler, path, err = LoadObject(self._handler)
File "/google/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 85, in LoadObject
obj = import(path[0])
File "/home/ashishietcs/src/fbbot-175613/python_gae_quickstart-2017-08-02-18-40/appengine/standard/hello_world/main.py", line 22, in
from wit import Wit
File "/home/ashishietcs/src/fbbot-175613/python_gae_quickstart-2017-08-02-18-40/appengine/standard/hello_world/lib/wit/init.py", line 9, in
from .wit import Wit
File "/home/ashishietcs/src/fbbot-175613/python_gae_quickstart-2017-08-02-18-40/appengine/standard/hello_world/lib/wit/wit.py", line 12, in
from prompt_toolkit import prompt
File "/home/ashishietcs/src/fbbot-175613/python_gae_quickstart-2017-08-02-18-40/appengine/standard/hello_world/lib/prompt_toolkit/init.py", line 16, in
from .interface import CommandLineInterface
File "/home/ashishietcs/src/fbbot-175613/python_gae_quickstart-2017-08-02-18-40/appengine/standard/hello_world/lib/prompt_toolkit/interface.py", line 17, in
from subprocess import Popen
ImportError: cannot import name Popen

@jtliao jtliao closed this as completed Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants