Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update conda executable location for Linux/macOS #146

Closed
wants to merge 1 commit into from

Commits on Feb 22, 2019

  1. Update Conda.jl

    For changes since [[email protected]#recommended-change-to-enable-conda-in-your-shell](https://github.com/conda/conda/blob/c06cee03757b2946831d8d5006ecffce9eb6d053/docs/source/release-notes.rst#recommended-change-to-enable-conda-in-your-shell), when non-root Conda Environment is used, executable file `conda` will not necessarily exists under `bin_dir(ROOTENV)`, which causing Conda.jl constantly try to install Miniconda. 
    
    Using environment variable `$CONDA_EXE` to locate `conda` executable is recommend.
    
    For example:
    
    ```bash
    # creating non-root conda env
    conda create -n conda_jl python conda
    # add following line to `~/.bashrc`, `~/.zshrc` or other rc files to avoid typing everytime
    export CONDA_JL_HOME="/path/to/miniconda/envs/conda_jl"
    # rebuild Conda
    julia -e 'using Pkg; Pkg.build("Conda")'
    #  try to list installed Conda packages
    julia -e 'using Conda; Conda.list()'  # will still trying to install miniconda
    ```
    
    Test passed with `test Conda`.
    Quar authored Feb 22, 2019
    Configuration menu
    Copy the full SHA
    0861899 View commit details
    Browse the repository at this point in the history