Python pyfiles and cis.read_data() function error

I want to use cis.read_data() function in my Julia script but i am getting error. This cis function works fine in python2.7 but in Julia CondaPkg uses python3.12. I don’t know the origin of error.Please see this link .

from pyfiles import * 
runname='./' #define start dir and file, uncomment below
sane = 1#0 for MAD98, 1 for SANE00
if sane == 1:
    inputfile=runname+'sane00.athinput'
datafile='sane00.prim.01800.athdf'
data=read_data(datafile,athinput=inputfile)

My error in Julia is :

   ~  julia Flux_Ropes.jl                                   ✔  2.7.18  
    CondaPkg Found dependencies: /home/raman/.julia/environments/v1.10/CondaPkg.toml
    CondaPkg Found dependencies: /home/raman/.julia/packages/PythonCall/S5MOg/CondaPkg.toml
    CondaPkg Dependencies already up to date
ERROR: LoadError: Python: ClassNotFoundError: Product cannot be found for given file.
Supported products and signatures are:
cis: ['.*\\.nc']
NCAR_NetCDF_RAF: ['.*\\.nc$']
ASCII_Hyperpoints: ['.*\\.txt']
Aeronet: ['.*\\.lev20', '.*\\.ONEILL_lev20', '.*\\.ONEILL_20', '.*\\.lev15', '.*\\.ONEILL_lev15', '.*\\.ONEILL_15', '.*All_Sites_Times.*dat', '.*\\.all']
Aerosol_CCI_L2: ['.*ESACCI-L2P_AEROSOL.*']
Aerosol_CCI_L3: ['.*ESACCI-L3C_AEROSOL.*nc']
Caliop_L1: ['CAL_LID_L1.*hdf']
Caliop_L2: ['CAL_LID_L2_05kmAPro.*hdf']
Caliop_L2_NO_PRESSURE: ['CAL_LID_L2_05kmAPro.*hdf']
CloudSat: ['.*_CS_.*GRANULE.*\\.hdf']
Cloud_CCI_L2: ['.*ESACCI-L2_CLOUD.*']
Cloud_CCI_L3: ['.*ESACCI-L3C_CLOUD.*nc', '.*ESACCI-L3U_CLOUD.*nc']
HadGEM_CONVSH: ['[a-z]{6}[\\._][pamd]{2}[0-9]{4,6}.*\\.nc']
HadGEM_PP: ['.*\\.pp']
MODIS_L2: ['.*MYD06_L2.*\\.hdf', '.*MOD06_L2.*\\.hdf', '.*MYD04_L2.*\\.hdf', '.*MOD04_L2.*\\.hdf']
MODIS_L3: ['.*MYD08_D3.*\\.hdf', '.*MOD08_D3.*\\.hdf', '.*MYD08_M3.*\\.hdf', '.*MOD08_M3.*\\.hdf', '.*MOD08_E3.*\\.hdf']
NetCDF_Gridded: ['.*\\.nc']

Python stacktrace:
 [1] __get_class
   @ cis.data_io.products.AProduct ~/.julia/environments/v1.10/.CondaPkg/env/lib/python3.11/site-packages/cis/data_io/products/AProduct.py:180
 [2] get_data
   @ cis.data_io.products.AProduct ~/.julia/environments/v1.10/.CondaPkg/env/lib/python3.11/site-packages/cis/data_io/products/AProduct.py:193
 [3] read_data_list
   @ cis.data_io.data_reader ~/.julia/environments/v1.10/.CondaPkg/env/lib/python3.11/site-packages/cis/data_io/data_reader.py:90
 [4] read_data_list
   @ cis ~/.julia/environments/v1.10/.CondaPkg/env/lib/python3.11/site-packages/cis/__init__.py:70
 [5] read_data
   @ cis ~/.julia/environments/v1.10/.CondaPkg/env/lib/python3.11/site-packages/cis/__init__.py:41
Stacktrace:
 [1] pythrow()
   @ PythonCall.Core ~/.julia/packages/PythonCall/S5MOg/src/Core/err.jl:92
 [2] errcheck
   @ ~/.julia/packages/PythonCall/S5MOg/src/Core/err.jl:10 [inlined]
 [3] pycallargs(f::Py, args::Py)
   @ PythonCall.Core ~/.julia/packages/PythonCall/S5MOg/src/Core/builtins.jl:212
 [4] pycall(::Py, ::String, ::Vararg{Any}; kwargs::@Kwargs{})
   @ PythonCall.Core ~/.julia/packages/PythonCall/S5MOg/src/Core/builtins.jl:230
 [5] pycall(::Py, ::String, ::Vararg{Any})
   @ PythonCall.Core ~/.julia/packages/PythonCall/S5MOg/src/Core/builtins.jl:220
 [6] (::Py)(::String, ::Vararg{Any}; kwargs::@Kwargs{})
   @ PythonCall.Core ~/.julia/packages/PythonCall/S5MOg/src/Core/Py.jl:339
 [7] top-level scope
   @ ~/Flux_Ropes.jl:23
in expression starting at /home/raman/Flux_Ropes.jl:23

A similar issue is given in cis github

Oh, I see that i have not imported pyfiles. But when i try to install pyfiles then i am getting error:

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

If i try to run my code in Python 3.12.2 then i am getting error as shown below:

    ~/Pictures/MikiForRaman  python m2c_read_athdata.py                 ✔ 
/home/raman/Pictures/MikiForRaman/m2c_read_athdata.py:1: SyntaxWarning: invalid escape sequence '\d'
  """
/home/raman/Pictures/MikiForRaman/m2c_read_athdata.py:146: SyntaxWarning: invalid escape sequence '\m'
  '''
Traceback (most recent call last):
  File "/home/raman/Pictures/MikiForRaman/m2c_read_athdata.py", line 37, in <module>
    from pyfiles import read_athinput 
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/raman/Pictures/MikiForRaman/pyfiles/__init__.py", line 3, in <module>
    from .unimesh import *
  File "/home/raman/Pictures/MikiForRaman/pyfiles/unimesh.py", line 15, in <module>
    import athena_read
ModuleNotFoundError: No module named 'athena_read'