JuliaPy / JuliaPy/PythonCall.jl

How to activate environment: micromamba activate

Abierto
#356 2 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Julia
Estrellas
1.1k
Forks
86
Merge medio
1 d 22 h
PR fusionados (30 d)
3

Descripción

**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**
-

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
cli, tooling
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.