Check out the first Dataiku 8 Deep Dive focusing on Productivity on October 29th Read More

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

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
Dataiker
Dataiker
Author
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)