Python Forum
pyfiles installing error in CondaPkg.jl
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pyfiles installing error in CondaPkg.jl
#1
I want to use pyfiles to read data using CIS library. I want to use them inside Julia script so i am using CondaPkg.jl to read those python libraries. Please see this post in Julia forum.
I am getting error as shown below:

julia> using CondaPkg

(@v1.10) pkg> conda add pyfiles
CondaPkg Found dependencies: /home/raman/.julia/environments/v1.10/CondaPkg.toml
CondaPkg Found dependencies: /home/raman/.julia/packages/PythonCall/S5MOg/CondaPkg.toml
CondaPkg Resolving changes
+ pyfiles
CondaPkg Installing packages
│ /home/raman/.julia/artifacts/7973f2c7725e2d0eef7a95159454c4145f0945a2/bin/micromamba
│ -r /home/raman/micromamba
│ install
│ -y
│ -p /home/raman/.julia/environments/v1.10/.CondaPkg/env
│ --override-channels
│ --no-channel-priority
│ cis[version='*']
│ libstdcxx-ng[version='>=3.4,<13.0']
│ pyfiles[version='*']
│ python[version='>=3.8,<4',channel='conda-forge',build='*cpython*']
└ -c conda-forge
conda-forge/noarch 15.1MB @ 716.6kB/s 21.1s
conda-forge/linux-64 @ 982.8kB/s 36.2s
error libmamba Could not solve for environment specs
The following package could not be installed
└─ pyfiles * does not exist (perhaps a typo or a missing channel).
critical libmamba Could not solve for environment specs
ERROR: failed process: Process(/home/raman/.julia/artifacts/7973f2c7725e2d0eef7a95159454c4145f0945a2/bin/micromamba -r /home/raman/micromamba install -y -p /home/raman/.julia/environments/v1.10/.CondaPkg/env --override-channels --no-channel-priority "cis[version='*']" "libstdcxx-ng[version='>=3.4,<13.0']" "pyfiles[version='*']" "python[version='>=3.8,<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 ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:398
[5] _resolve_conda_install(io::Any, conda_env::Any, specs::Any, channels::Any; create::Any)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:299
[6] _resolve_conda_install(io::Any, conda_env::Any, specs::Any, channels::Any)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:287
[7] resolve(; force::Bool, io::IO, interactive::Bool, dry_run::Bool)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:525
[8] resolve()
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:405
[9] add(pkgs::AbstractVector; resolve::Any, file::Any, kw...)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/deps.jl:222
[10] add(pkgs::AbstractVector)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/deps.jl:215
[11] add(args::Vector{String})
@ CondaPkg.PkgREPL ~/.julia/packages/CondaPkg/MmzxM/src/PkgREPL.jl:125
[12] do_cmd!(command::Pkg.REPLMode.Command, repl::REPL.LineEditREPL)
@ Pkg.REPLMode ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/REPLMode/REPLMode.jl:412
[13] do_cmd(repl::REPL.LineEditREPL, input::String; do_rethrow::Bool)
@ Pkg.REPLMode ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/REPLMode/REPLMode.jl:390
[14] do_cmd
@ ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/REPLMode/REPLMode.jl:380 [inlined]
[15] (::Pkg.REPLMode.var"#24#27"{REPL.LineEditREPL, REPL.LineEdit.Prompt})(s::REPL.LineEdit.MIState, buf::IOBuffer, ok::Bool)
@ Pkg.REPLMode ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/REPLMode/REPLMode.jl:557
[16] #invokelatest#2
@ ./essentials.jl:892 [inlined]
[17] invokelatest
@ ./essentials.jl:889 [inlined]
[18] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
@ REPL.LineEdit ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/REPL/src/LineEdit.jl:2656
[19] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)
@ REPL ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/REPL/src/REPL.jl:1312
[20] (::REPL.var"#62#68"{REPL.LineEditREPL, REPL.REPLBackendRef})()
@ REPL ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/REPL/src/REPL.jl:386
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ERROR WHILE INSTALLING PLAYSOUND MODULE satwants33 2 1,998 Mar-23-2024, 12:50 PM
Last Post: Ritik2508
  error while installing any library using pip in windows AkashKansal 1 4,560 Sep-24-2020, 07:51 AM
Last Post: buran
  Pip prints huge error when installing p5 hayden2s 1 2,352 Aug-08-2020, 02:30 PM
Last Post: snippsat
  Installing Error - Python 2.7.8 saranana 2 2,716 Jun-04-2020, 02:25 AM
Last Post: pyzyx3qwerty
  Getting error while installing packages using pip Shreya 2 4,294 Apr-22-2020, 08:03 AM
Last Post: Shreya
  Error Installing PySceneDetect and OpenCV jpnoli 1 2,028 Mar-26-2020, 12:19 PM
Last Post: buran
  Error after installing Python3.8.2: "No module named 'apt_pkg'" Chromie 3 4,044 Mar-09-2020, 08:20 PM
Last Post: micseydel
  error in installing Pystan sveto4ka 6 8,378 Oct-06-2019, 06:25 PM
Last Post: sveto4ka
  Error in VS Code after installing raduf 2 3,210 Dec-06-2018, 09:56 PM
Last Post: snippsat
  Error when installing module tjnichols 2 5,467 May-13-2018, 04:51 PM
Last Post: tjnichols

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020