Skip to content

'module' object has no attribute '_vendor' #1194

@Black-Milk

Description

@Black-Milk
AttributeError                            Traceback (most recent call last)
<ipython-input-81-9a4946344398> in <module>()
----> 1 from gcloud import datastore

~/anaconda/lib/python2.7/site-packages/gcloud/__init__.py in <module>()
     15 """GCloud API access in idiomatic Python."""
     16 
---> 17 from pkg_resources import get_distribution
     18 
     19 __version__ = get_distribution('gcloud').version

~/anaconda/lib/python2.7/site-packages/pkg_resources/__init__.pyc in <module>()
     88     import pkg_resources._vendor.packaging.version
     89     import pkg_resources._vendor.packaging.specifiers
---> 90     packaging = pkg_resources._vendor.packaging
     91 except ImportError:
     92     # fallback to naturally-installed version; allows system packagers to

AttributeError: 'module' object has no attribute '_vendor'```

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions