JuliaPy / JuliaPy/PythonCall.jl

unable to install impedancefitter

Offen
#245 17 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Julia
Sterne
1.1k
Forks
86
Ø Merge
1 T. 22 Std.
Gemergte PRs (30 T.)
3

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
tooling
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.