JuliaPy / JuliaPy/PythonCall.jl

unable to install impedancefitter

Open
#245 17 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

I fail to install the PyPy-package [`ImpedanceFitter`](https://github.com/j-zimmermann/ImpedanceFitter).
I also tried in Julia RC v.1.8.3.
Here my commands:
```
import Pkg; Pkg.add("CondaPkg")
import Pkg; Pkg.add("PythonCall")
impfit = PythonCall.pyimport("impedancefitter")
```
and here is the error output on my machine:
```
The environment can't be solved, aborting the operation
error libmamba Could not solve for environment specs
critical libmamba UnsatisfiableError
ERROR: failed process: Process(`'C:\Users\stefanpofahl\.julia\artifacts\7950c161b9c76ecc6d58b2b6734696fee7d8e4a0\Library\bin\micromamba.exe' -r 'C:\Users\stefanpofahl\.julia\scratchspaces\0b3b1443-0f03-428d-bdfb-f27f9c1191ea\root' create -y -p 'C:\Users\stefanpofahl\.julia\environments\v1.9\.CondaPkg\env' --override-channels --no-channel-priority "impedancefitter[version='*']" "python[version='>=3.7,<4',channel='conda-forge',build='*cpython*']" -c conda-forge`, ProcessExited(1)) [1]

Stacktrace:
[1] pipeline_error
@ .\process.jl:565 [inlined]
[2] run(::Cmd; wait::Bool)
@ Base .\process.jl:480
[3] run(::Cmd)
@ Base .\process.jl:477
[4] _run(io::IO, cmd::Cmd, args::Any; flags::Any)
@ CondaPkg C:\Users\stefanpofahl\.julia\packages\CondaPkg\RuSdR\src\resolve.jl:301
[5] _resolve_conda_install(io::Any, conda_env::Any, specs::Any, channels::Any; create::Any)
@ CondaPkg C:\Users\stefanpofahl\.julia\packages\CondaPkg\RuSdR\src\resolve.jl:202
[6] resolve(; force::Bool, io::IO, interactive::Bool, dry_run::Bool)
@ CondaPkg C:\Users\stefanpofahl\.julia\packages\CondaPkg\RuSdR\src\resolve.jl:452
[7] resolve()
@ CondaPkg C:\Users\stefanpofahl\.julia\packages\CondaPkg\RuSdR\src\resolve.jl:315
[8] add(pkgs::AbstractVector; resolve::Any, file::Any, temp::Any)
@ CondaPkg C:\Users\stefanpofahl\.julia\packages\CondaPkg\RuSdR\src\deps.jl:244
[9] add(pkgs::AbstractVector)
@ CondaPkg C:\Users\stefanpofahl\.julia\packages\CondaPkg\RuSdR\src\deps.jl:231
[10] add(pkg::Union{CondaPkg.ChannelSpec, CondaPkg.PipPkgSpec, CondaPkg.PkgSpec}; kw::Base.Pairs{Symbol, V, Tuple{Vararg{Symbol, N}}, NamedTuple{names, T}} where {V, N, names, T<:Tuple{Vararg{Any, N}}})
@ CondaPkg C:\Users\stefanpofahl\.julia\packages\CondaPkg\RuSdR\src\deps.jl:248
[11] add(pkg::Union{CondaPkg.ChannelSpec, CondaPkg.PipPkgSpec, CondaPkg.PkgSpec})
@ CondaPkg C:\Users\stefanpofahl\.julia\packages\CondaPkg\RuSdR\src\deps.jl:248
[12] add(pkg::AbstractString; version::Any, channel::Any, build::Any, kw::Base.Pairs{Symbol, V, Tuple{Vararg{Symbol, N}}, NamedTuple{names, T}} where {V, N, names, T<:Tuple{Vararg{Any, N}}})
@ CondaPkg C:\Users\stefanpofahl\.julia\packages\CondaPkg\RuSdR\src\deps.jl:375
[13] add(pkg::AbstractString)
@ CondaPkg C:\Users\stefanpofahl\.julia\packages\CondaPkg\RuSdR\src\deps.jl:375
[14] top-level scope
@ REPL[6]:1
```
Do you have asuggestion?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported Julia REPL commands on the Windows setup, then start with the CondaPkg resolver entries shown in the stack trace: src/resolve.jl at lines 202, 301, and 452. Compare the failing environment specifications with the impedancefitter and Python requirements; done means CondaPkg resolves successfully and PythonCall.pyimport("impedancefitter") completes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.