bhushan_ramesh_bhange@bxr8516-2:~$ python -c "import cloudstorage"Traceback
(most recent call last): File "<string>", line 1, in <module> File
"/home/bhushan_ramesh_bhange/anaconda3/lib/python3.5/site-packages/cloudstorage/__init__.py",
line 20, in <module> from .api_utils import RetryParams File
"/home/bhushan_ramesh_bhange/anaconda3/lib/python3.5/site-packages/cloudstorage/api_utils.py",
line 173 except self.retriable_exceptions, e: ^SyntaxError: invalid syntax
bhushan_ramesh_bhange@bxr8516-2:~$
I am trying to use gs:// through python and I imported pip install
GoogleAppEngineCloudStorageClient -t {home dir } /lib
I am getting above error when trying to use import cloudstorage as gcs
On Wednesday, 21 September 2016 18:14:47 UTC-5, Nick (Cloud Platform
Support) wrote:
>
> Hey Gerhard,
>
> Thanks for letting us know about this. Unfortunately I can't reproduce
> this on my end. Could you clarify / provide some of the following
> information?
>
> 1. What version of python and pip are you running?
> 2. What does your PYTHON_PATH environment variable look like?
> 3. What is the full stack trace of the error when it appears?
>
>
> With that information, we'll be closer to determining why it happens on
> your system.
>
> I should also mention that generally, issues should be reported in the
> Public Issue Tracker, but here's fine for now.
>
> Cheers,
>
> Nick
> Cloud Platform Community Support
>
> On Monday, September 19, 2016 at 9:25:12 AM UTC-4, Gerhard Just Olsen
> wrote:
>>
>> Hi. Hope this is the right place to report this.
>>
>> In the App Engine and Google Cloud Storage Sample for Python.
>> The documentation wants us to install the library in demo/lib
>>
>> pip install GoogleAppEngineCloudStorageClient -t demo/lib
>>
>>
>> That gives an error saying:
>>
>> ImportError: No module named cloudstorage
>>
>>
>> But the file structure shows the library installed in demo/
>>
>> A fix is:
>>
>>> pip install GoogleAppEngineCloudStorageClient -t demo/
>>>
>>
>> Link:
>>
>> https://cloud.google.com/appengine/docs/python/googlecloudstorageclient/app-engine-cloud-storage-sample
>>
>>
>>
>>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/1d9f53d5-4115-478c-b5ac-5cd49059a23a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.