JuliaPy / JuliaPy/PythonCall.jl

How to activate environment: micromamba activate

Open
#356 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Julia
Stars
1.1k
Forks
86
Avg merge
1d 22h
Merged PRs (30d)
3

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.