You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Officially, we only support Python 3.4 and up (and 2.7), in keeping with the policy if most other large open source projects. That said, we will take a look at this and fix it if it is straightforward. :-)
Hi @hiranya911,
I looked into this, and the ImportError is actually coming from grpc, which is issuing import enum.
enum was added to the standard library in Python 3.4, but there is a backport on PyPI for previous versions (pip install enum34). If you install enum34 from pip when using Python 3.3, things might work.
What I mean by "things might work" -- doing so will get you past that particular ImportError. I do not guarantee everything will work past that, since we do not officially support or test on Python 3.3. (Your chances are decent that everything will work fine, though.)
Activity
lukesneeringer commentedon Oct 3, 2017
Officially, we only support Python 3.4 and up (and 2.7), in keeping with the policy if most other large open source projects. That said, we will take a look at this and fix it if it is straightforward. :-)
tseaver commentedon Oct 4, 2017
This is most likely down to
pip/setuptoolsbugs WRT namespace packages. @hiranya911, can you please try adding the following:Before installing
google-cloud-firestore?hiranya911 commentedon Oct 6, 2017
@tseaver Same error as before. Nothing was updated when I tried to upgrade
setuptoolsandpip. My versions are:Given that this also occurs in a Travis CI environment, I doubt that it is due to outdated tools.
dhermes commentedon Oct 6, 2017
Travis CI is not notorious for having up-to-date environments, e.g. their latest Ubuntu image is the previous LTS from April 2014.
lukesneeringer commentedon Oct 12, 2017
Hi @hiranya911,
I looked into this, and the
ImportErroris actually coming from grpc, which is issuingimport enum.enumwas added to the standard library in Python 3.4, but there is a backport on PyPI for previous versions (pip install enum34). If you installenum34from pip when using Python 3.3, things might work.What I mean by "things might work" -- doing so will get you past that particular
ImportError. I do not guarantee everything will work past that, since we do not officially support or test on Python 3.3. (Your chances are decent that everything will work fine, though.)lukesneeringer commentedon Oct 12, 2017
@hiranya911 I also filed grpc/grpc#12976 that will fix this on their side.
Again, no promises of Python 3.3 support, but this seems like sufficiently low hanging fruit.
Update dependency google-cloud-datacatalog to v1 [(#4115)](GoogleClou…
feat: Migrate API client to Microgenerator (#54)