JuliaPy / JuliaPy/PythonCall.jl

How to activate environment: micromamba activate

オープン
#356 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Julia
スター
1.1k
フォーク
86
平均マージ
1日 22時間
マージ済み PR(30日)
3

説明

**Affects:** PythonCall / CondaPkg / Both [delete as appropriate]

**Describe the bug**
After the update command:
```julia
using CondaPkg; CondaPkg.update()
```
the following message is displayed at the end:

```
Transaction finished

To activate this environment, use:

micromamba activate /home/stefan/.julia/environments/v1.9/.CondaPkg/env

Or to execute a single command in this environment, use:

micromamba run -p /home/stefan/.julia/environments/v1.9/.CondaPkg/env mycommand
```

But I cannot execute this command, if I do the result is as follows:
```
julia> micromamba activate /home/stefan/.julia/environments/v1.9/.CondaPkg/env
ERROR: syntax: extra token "activate" after end of expression
Stacktrace:
[1] top-level scope
@ none:1
```
**Your system**
Please provide detailed information about your system:
- The operating system: Ubuntu 22.04.3
- The version of Julia, Python, PythonCall, JuliaCall and any other affected packages
```
Julia Version 1.9.3
Commit bed2cd540a1 (2023-08-24 14:43 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 8 × Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-14.0.6 (ORCJIT, haswell)
Threads: 1 on 8 virtual cores
```
other packages: see below

- If an issue with PythonCall, the output of `Base.versioninfo()`, `Pkg.status()` and `CondaPkg.status()`.
* versioninfo(), see above
* Pkg.status():
```
Status `~/.julia/environments/v1.9/Project.toml`
[a134a8b2] BlackBoxOptim v0.6.2
[ad839575] Blink v0.12.8
[336ed68f] CSV v0.10.11
[8be319e6] Chain v0.5.0
[7c7805af] Clapeyron v0.5.2 `https://github.com/ypaul21/Clapeyron.jl#master`
[8f4d0f93] Conda v1.9.1
[992eb4ea] CondaPkg v0.2.18
[e084ae63] CoolProp v0.1.0
[a93c6f00] DataFrames v1.6.1
[39dd38d3] Dierckx v0.5.3
[da5bd070] EquivalentCircuits v0.3.1 `https://github.com/MaximeVH/EquivalentCircuits.jl.git#master#master`
[5789e2e9] FileIO v1.16.1
[f7f18e0c] GLFW v3.4.1
[38e38edf] GLM v1.8.3
[e9467ef8] GLMakie v0.8.9
[66fc600b] ModernGL v1.1.7
[429524aa] Optim v1.7.7
[7f7a1694] Optimization v3.17.0
[cb963754] OptimizationEvolutionary v0.1.3
[9b87118b] PackageCompiler v2.1.7
[eebad327] PkgVersion v0.3.3
[f0f68f2c] PlotlyJS v0.18.10
[438e738f] PyCall v1.96.1
[6099a3de] PythonCall v0.9.14
[295af30f] Revise v3.5.5
[d6ea1423] RobustModels v0.5.0
[1986cc42] Unitful v1.17.0
[ade2ca70] Dates

```
* CondaPkg.status()
```
CondaPkg Status /home/stefan/.julia/environments/v1.9/CondaPkg.toml
Not Resolved (resolve first for more information)
Packages
impedancefitter
micromamba
Pip packages
impedancefitter

```

**Additional context**
-

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

No source file or test is identified in the report. Reproduce the message after running CondaPkg.update() and compare the documented micromamba command with the environment in which it is entered. Done means the activation guidance is unambiguous and a regression check covers the displayed instructions.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
cli, tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。