GitHub user cloverhearts opened a pull request:

    https://github.com/apache/zeppelin/pull/2574

    [ZEPPELIN-2921 : 0.7x] does not work conda environment in python interpreter

    ### What is this PR for?
    It seems that the environment of the python interpreter has changed to the 
py4j environment, causing problems with the library path and the default 
environment.
    
    ### What type of PR is it?
    Bug Fix
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/ZEPPELIN-2921
    
    ### How should this be tested?
    Please run the following command line for each paragraph.
    If the module such as scipy is normally imported, it is a success.
    `%python.conda create --name Hello6 python=2.7`
    `%python.conda activate Hello6`
    `%python.conda install seaborn pandas numpy scipy matplotlib`
    ```
    %python
    import scipy as sp
    import seaborn as sns
    ```
    `%python.conda deactivate`
    
    ### Screenshots (if appropriate)
    #### Before
    
![image](https://user-images.githubusercontent.com/10525473/30199920-c75022ca-94af-11e7-8811-0c22310f1bac.png)
    
    #### After
    
![image](https://user-images.githubusercontent.com/10525473/30198880-23aaceb2-94ab-11e7-8bc6-bfad76c675f7.png)
    
    
    ### Questions:
    * Does the licenses files need update? no 
    * Is there breaking changes for older versions? no
    * Does this needs documentation? no


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloverhearts/zeppelin 
fix/conda-interpreter-invalid-path-0.7

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/2574.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2574
    
----
commit b287825358ff05347d9062d352485e5cf02d23d7
Author: CloverHearts <cloverhearts...@gmail.com>
Date:   2017-09-08T06:23:11Z

    add conda local env

----


---

Reply via email to