Open lgautier opened 7 years ago
I cannot reproduce the issue on my side. If you just run "import google.datalab.kernel", do you get more detailed errors?
I am using a Python virtualenv
. Could this be a factor ?
Could be. Do you have an environment without virtualenv?
Trying to use the datalab magic from jupyter (after doing
%load_ext google.datalab.kernel
) results in an error at the first use of%datalab
("module traceback cannot be imported").However setting the environment with
CLOUDSDK_PYTHON_SITEPACKAGES=1
appears to fix the problem. Is there a way to have a better message, and may drop the requirement to have an environment variable when importing the module from the Jupyter notebook ?