JuliaPy / JuliaPy/Conda.jl

Conda.bin_dir gives wrong directory.

Open
#204 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
187
Forks
59
PR merge metrics
No merged PRs in 30d

Description

`Conda.bin_dir(:uniref)` gives `"/Users/jakobnissen/miniconda3/envs/uniref/envs/uniref/bin"` - note the `envs/uniref` is duplicated.

This probably comes from the fact that ROOTENV is `"/Users/jakobnissen/miniconda3/envs/uniref"`, and `bin_dir` is defined by joining `prefix` with `bin`, and `prefix` is defined as joining ROOTENV with `envs/uniref`.

And I think *that* ultimately comes from the README.md saying that you can use an existing environment by doing:
`ENV["CONDA_JL_HOME"] = "/Users/jakobnissen/miniconda3/envs/my_env"`, when in fact you should be omitting the `envs/my_env` at the end.

Contributor guide

No contributing guide indexed for this repository

Research direction

Review README.md and the definitions of bin_dir and prefix, starting with how ROOTENV and CONDA_JL_HOME are combined for an existing environment. Confirm the expected environment path and verify that Conda.bin_dir(:uniref) no longer duplicates envs/uniref.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.