JuliaPy / JuliaPy/Conda.jl

Conda in Julia create new Environment inside an Environment directory, how to change it?

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

Description

I am using Julia-1.7.3, I type this:

```
julia> ]

pkg> add Conda

julia> using Conda
julia> Conda.add("matplotlib", :nagienv)
```

Then I get this:

**[ Info: Running conda create -y -p /home/browni/.julia/conda/3/envs/pyplot_env/envs/nagienv in root environment Collecting package metadata (current_repodata.json): done Solving environment: done**

Before it was:
**conda create -y -p /home/browni/.julia/conda/3/envs/nagienv**

what should I do to change the target directory for new environment?

I try to set Python Env and build PyCall :
```
julia> ENV["PYTHON"] = "/home/browni/.julia/conda/3/bin/python3"
julia> using PyCall
julia> ]

pkg> build PyCall
```
it is still creating environment inside an environment directory. I just want a tidier folder structure. Thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the Julia REPL commands using Conda.add("matplotlib", :nagienv), then compare the reported conda create paths with the PYTHON setting and PyCall build step. Done means the requested environment is created in the intended target directory rather than nested under another environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.