Can I install the Google Cloud Python API in DSS's virtualenv?
UserBird
Dataiker, Alpha Tester Posts: 535 Dataiker
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?
Tagged:
Answers
-
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.