Github user cloverhearts commented on the issue: https://github.com/apache/zeppelin/pull/2574 @zjffdu Thank you for your opinion, I present scenarios for environment changes using conda. Python version and module names are arbitrary, so do not worry. What is important is change in every environment. 1. Basically Zeppelin's python python: 2.71 installed library: (none) use to zeppelin ``` %python import sys print(sys.version) print(sys.path) ``` result ``` python version 2.7.1 %ZEPPELIN_HOME%/interpreter/python/lib:%PYTHON_HOME ``` ``` %python import myModule ``` result ``` no module myModule ``` 2. install conda and new python ``` %python.conda create --name python3 python=3.4 ``` ``` %python.conda activate python3 ``` ``` %python import sys print(sys.version) print(sys.path) ``` result ``` python version 3.4 %ZEPPELIN_HOME%/interpreter/python/lib:%PYTHON_HOME:%CONDA_ENV%/python3/lib ``` ``` %python import myModule ``` result ``` no module myModule ``` try again ``` %python.conda install myModule ``` ``` import myModule ``` result ``` imported. ``` 3. restore python environment ``` %python.conda deactivate ``` check for recovered to the original Zeppelin environment. ``` %python import sys print(sys.version) print(sys.path) ``` result ``` python version 2.7.1 %ZEPPELIN_HOME%/interpreter/python/lib:%PYTHON_HOME ``` ``` import myModule ``` result ``` no module myModule ``` All three must be supported by conda. 1. Support to installing and using the python library 2. Support to change the python version 3. Support to configuring non-python environments old zeppelin does works for this part(0.71). but, the Python Interpreter has changed significantly since 0.71. I guess missing the environment part for this. I modified it. python env set code (https://github.com/apache/zeppelin/blob/master/python/src/main/java/org/apache/zeppelin/python/PythonInterpreter.java#L151)
---