Can I install the Google Cloud Python API in DSS's virtualenv?

Highlighted
UserBird Dataiker
Dataiker
Can I install the Google Cloud Python API in DSS's virtualenv?
After installing the Google Cloud python modules with 'pip install google_cloud', Python is not available in DSS, and the virtualenv in $DIP_HOME/pyenv is broken (impossible to run python or pip...). Is DSS not compatible with the Google CLoud APIs?
0 Kudos
1 Reply
UserBird Dataiker
Dataiker
Re: Can I install the Google Cloud Python API in DSS's virtualenv?
Depending on which libraries were present in the virtualenv before the 'pip install...', the Google Cloud APIs can indeed break the virtualenv (see https://github.com/google/protobuf/issues/1153 for example).

To recover the virtualenv, you need to manually remove the __init__.py file in the virtualenv's lib/python2.7/site-packages/google folder, un/re/install modules.
Labels (2)