I'm currently just trying to import the pubsub library into my project. I'm getting an import error on it. If I comment out the import the rest of the code loads fine. I'm not finding a solution to this issue.--(/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py:263)
Traceback (most recent call last):
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 240, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 299, in _LoadHandler
handler, path, err = LoadObject(self._handler)
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 85, in LoadObject
obj = __import__(path[0])
File "/base/data/home/apps/s~hyperwave-168417/pubsub-processor:20171113t125819.405497509582670372/main.py", line 23, in <module>
from google.cloud import pubsub_v1
File "/base/data/home/apps/s~hyperwave-168417/pubsub-processor:20171113t125819.405497509582670372/lib/google/cloud/pubsub_v1/__init__.py", line 17, in <module>
from google.cloud.pubsub_v1 import types
File "/base/data/home/apps/s~hyperwave-168417/pubsub-processor:20171113t125819.405497509582670372/lib/google/cloud/pubsub_v1/types.py", line 20, in <module>
import psutil
File "/base/data/home/apps/s~hyperwave-168417/pubsub-processor:20171113t125819.405497509582670372/lib/psutil/__init__.py", line 40, in <module>
from . import _common
ImportError: cannot import name _common
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/16e16000-a5e5-4030-9176-dd098d9b8205%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Daniel, In what context are you running this? For example, is this an App Engine 1.9 local emulator run?
On Mon, Nov 13, 2017 at 1:15 PM Daniel Morgan <dmo...@protoprod.com> wrote:
I'm currently just trying to import the pubsub library into my project. I'm getting an import error on it. If I comment out the import the rest of the code loads fine. I'm not finding a solution to this issue.--(/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py:263)
Traceback (most recent call last):
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 240, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 299, in _LoadHandler
handler, path, err = LoadObject(self._handler)
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 85, in LoadObject
obj = __import__(path[0])
File "/base/data/home/apps/s~hyperwave-168417/pubsub-processor:20171113t125819.405497509582670372/main.py", line 23, in <module>
from google.cloud import pubsub_v1
File "/base/data/home/apps/s~hyperwave-168417/pubsub-processor:20171113t125819.405497509582670372/lib/google/cloud/pubsub_v1/__init__.py", line 17, in <module>
from google.cloud.pubsub_v1 import types
File "/base/data/home/apps/s~hyperwave-168417/pubsub-processor:20171113t125819.405497509582670372/lib/google/cloud/pubsub_v1/types.py", line 20, in <module>
import psutil
File "/base/data/home/apps/s~hyperwave-168417/pubsub-processor:20171113t125819.405497509582670372/lib/psutil/__init__.py", line 40, in <module>
from . import _common
ImportError: cannot import name _common
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/16e16000-a5e5-4030-9176-dd098d9b8205%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I figured it out...It was because I was loading into standard. Which help me solve another problem I had. Learning Dev, thanks
On Monday, November 13, 2017 at 2:53:16 PM UTC-5, Kir Titievsky wrote:
Daniel, In what context are you running this? For example, is this an App Engine 1.9 local emulator run?On Mon, Nov 13, 2017 at 1:15 PM Daniel Morgan <dmo...@protoprod.com> wrote:I'm currently just trying to import the pubsub library into my project. I'm getting an import error on it. If I comment out the import the rest of the code loads fine. I'm not finding a solution to this issue.--(/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py:263)
Traceback (most recent call last):
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 240, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 299, in _LoadHandler
handler, path, err = LoadObject(self._handler)
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 85, in LoadObject
obj = __import__(path[0])
File "/base/data/home/apps/s~hyperwave-168417/pubsub-processor:20171113t125819.405497509582670372/main.py", line 23, in <module>
from google.cloud import pubsub_v1
File "/base/data/home/apps/s~hyperwave-168417/pubsub-processor:20171113t125819.405497509582670372/lib/google/cloud/pubsub_v1/__init__.py", line 17, in <module>
from google.cloud.pubsub_v1 import types
File "/base/data/home/apps/s~hyperwave-168417/pubsub-processor:20171113t125819.405497509582670372/lib/google/cloud/pubsub_v1/types.py", line 20, in <module>
import psutil
File "/base/data/home/apps/s~hyperwave-168417/pubsub-processor:20171113t125819.405497509582670372/lib/psutil/__init__.py", line 40, in <module>
from . import _common
ImportError: cannot import name _common
Daniel, In what context are you running this? For example, is this an App Engine 1.9 local emulator run?
On Mon, Nov 13, 2017 at 1:15 PM Daniel Morgan <dmo...@protoprod.com> wrote:
I'm currently just trying to import the pubsub library into my project. I'm getting an import error on it. If I comment out the import the rest of the code loads fine. I'm not finding a solution to this issue.--(/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py:263)
Traceback (most recent call last):
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 240, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 299, in _LoadHandler
handler, path, err = LoadObject(self._handler)
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 85, in LoadObject
obj = __import__(path[0])
File "/base/data/home/apps/s~hyperwave-168417/pubsub-processor:20171113t125819.405497509582670372/main.py", line 23, in <module>
from google.cloud import pubsub_v1
File "/base/data/home/apps/s~hyperwave-168417/pubsub-processor:20171113t125819.405497509582670372/lib/google/cloud/pubsub_v1/__init__.py", line 17, in <module>
from google.cloud.pubsub_v1 import types
File "/base/data/home/apps/s~hyperwave-168417/pubsub-processor:20171113t125819.405497509582670372/lib/google/cloud/pubsub_v1/types.py", line 20, in <module>
import psutil
File "/base/data/home/apps/s~hyperwave-168417/pubsub-processor:20171113t125819.405497509582670372/lib/psutil/__init__.py", line 40, in <module>
from . import _common
ImportError: cannot import name _common
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/16e16000-a5e5-4030-9176-dd098d9b8205%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/16e16000-a5e5-4030-9176-dd098d9b8205%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Kir Titievsky | Product Manager | Google Cloud Pub/Sub
--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/d8a9af93-5b99-4770-b088-17dc561ffeaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/CAKdozMfEQmqtG6aA44mFHyLPvF4q_31FQaDpEb6YbJb3hLMP2g%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/16e16000-a5e5-4030-9176-dd098d9b8205%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Kir Titievsky | Product Manager | Google Cloud Pub/Sub
--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/d8a9af93-5b99-4770-b088-17dc561ffeaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/16e16000-a5e5-4030-9176-dd098d9b8205%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Kir Titievsky | Product Manager | Google Cloud Pub/Sub
--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/d8a9af93-5b99-4770-b088-17dc561ffeaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Kir Titievsky | Product Manager | Google Cloud Pub/Sub
--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/fb3b715b-d0da-43c8-a7cc-27c8cbc15943%40googlegroups.com.