# Failed process: error while adding python cis library

**URL:** https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551
**Category:** General Usage
**Tags:** error, python, condapkg
**Created:** [June 12, 2024, 12:51pm UTC](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551 "2024-06-12T12:51:27Z")
**Posts on this page:** 18
**Page:** 2

<div class="post-metadata">

### Author: ![raman\_kumar](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raman_kumar/32/26782_2.png) [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)
#### Post date: [June 15, 2024, 5:16pm UTC](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551/21 "2024-06-15T17:16:15Z")

</div>

```julia
    ~  julia  1 ✘ 
Error: The Julia launcher failed to figure out which juliaup channel to use.

```

---

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [June 15, 2024, 5:19pm UTC](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551/22 "2024-06-15T17:19:17Z")

</div>

Try:

```julia
juliaup update
juliaup status

```

And perhaps

```julia
juliaup add 1.10
juliaup default 1.10

```

if Julia 1.10 is the version you want to use.

---

<div class="post-metadata">

### Author: ![raman\_kumar](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raman_kumar/32/26782_2.png) [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)
#### Post date: [June 15, 2024, 5:21pm UTC](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551/23 "2024-06-15T17:21:53Z")

</div>

There is no information in output.

```julia
    ~  juliaup update  ✔ 
    ~  juliaup status  ✔ 
 Default Channel Version Update 
-----------------------------------

```

If you like i am willing to reinstall everything so i can delete earlier Julia versions. I would like to use latest Julia version.

---

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [June 15, 2024, 5:23pm UTC](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551/24 "2024-06-15T17:23:10Z")

</div>

Try

```julia
juliaup add 1.10
juliaup default 1.10

```

---

<div class="post-metadata">

### Author: ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)
#### Post date: [June 15, 2024, 5:26pm UTC](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551/25 "2024-06-15T17:26:38Z")

</div>

PythonCall uses CondaPkg, which uses micromamba.

---

<div class="post-metadata">

### Author: ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)
#### Post date: [June 15, 2024, 5:32pm UTC](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551/26 "2024-06-15T17:32:11Z")

</div>

Why are you using micromamba to install CondaPkg? Use it to install cis.

---

<div class="post-metadata">

### Author: ![raman\_kumar](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raman_kumar/32/26782_2.png) [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)
#### Post date: [June 15, 2024, 5:37pm UTC](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551/27 "2024-06-15T17:37:59Z")

</div>

```julia
    ~  juliaup update  ✔ 
    ~  juliaup status  ✔ 
 Default Channel Version Update 
-----------------------------------
    ~  juliaup add 1.10  ✔ 
juliaup default 1.10
Installing Julia 1.10.4+0.x64.linux.gnu
Configured the default Julia version to be '1.10'.

(@v1.10) pkg> add CondaPkg
  Installing known registries into `~/.julia`
    Updating registry at `~/.julia/registries/General.toml`
   Resolving package versions...
   Installed MicroMamba ────── v0.1.14
   Installed micromamba_jll ── v1.5.8+0
   Installed JLLWrappers ───── v1.5.0
   Installed Parsers ───────── v2.8.1
   Installed Pidfile ───────── v1.3.0
   Installed Scratch ───────── v1.2.1
   Installed JSON3 ─────────── v1.14.0
   Installed Preferences ───── v1.4.3
   Installed PrecompileTools ─ v1.2.1
   Installed StructTypes ───── v1.10.0
   Installed CondaPkg ──────── v0.2.22
    Updating `~/.julia/environments/v1.10/Project.toml`
  [992eb4ea] + CondaPkg v0.2.22
    Updating `~/.julia/environments/v1.10/Manifest.toml`
  [992eb4ea] + CondaPkg v0.2.22
  [692b3bcd] + JLLWrappers v1.5.0
  [0f8b85d8] + JSON3 v1.14.0
  [0b3b1443] + MicroMamba v0.1.14
  [69de0a69] + Parsers v2.8.1
  [fa939f87] + Pidfile v1.3.0
  [aea7be01] + PrecompileTools v1.2.1
  [21216c6a] + Preferences v1.4.3
  [6c6a2e73] + Scratch v1.2.1
  [856f2bd8] + StructTypes v1.10.0
  [f8abcde7] + micromamba_jll v1.5.8+0
  [0dad84c5] + ArgTools v1.1.1
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching
  [b77e0a4c] + InteractiveUtils
  [4af54fe1] + LazyArtifacts
  [b27032c2] + LibCURL v0.6.4
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.10.0
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [fa267f1f] + TOML v1.0.3
  [a4e569a6] + Tar v1.10.0
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [deac9b47] + LibCURL_jll v8.4.0+0
  [e37daf67] + LibGit2_jll v1.6.4+0
  [29816b5a] + LibSSH2_jll v1.11.0+1
  [c8ffd9c3] + MbedTLS_jll v2.28.2+1
  [14a3606d] + MozillaCACerts_jll v2023.1.10
  [83775a58] + Zlib_jll v1.2.13+1
  [8e850ede] + nghttp2_jll v1.52.0+1
  [3f19e933] + p7zip_jll v17.4.0+2
Precompiling project...
  11 dependencies successfully precompiled in 147 seconds. 3 already precompiled.
  1 dependency had output during precompilation:
┌ micromamba_jll
│ Downloading artifact: micromamba
│  
│ [pid 6261] waiting for IO to finish:
│ Handle type uv_handle_t->data
│ timer 0xe675b0->0x7f1a08d58400
│ This means that a package has started a background task or event source that has not finished running. For precompilation to complete successfully, the event source needs to be closed explicitly. See the developer documentation on fixing precompilation hangs for more help.
│  
│ [pid 6261] waiting for IO to finish:
│ Handle type uv_handle_t->data
│ timer 0xe675b0->0x7f1a08d58400
│ This means that a package has started a background task or event source that has not finished running. For precompilation to complete successfully, the event source needs to be closed explicitly. See the developer documentation on fixing precompilation hangs for more help.
└  

(@v1.10) pkg> 

```

---

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [June 15, 2024, 6:27pm UTC](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551/28 "2024-06-15T18:27:48Z")

</div>

Looks good to me. This are just warnings you can ignore (I think).

---

<div class="post-metadata">

### Author: ![raman\_kumar](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raman_kumar/32/26782_2.png) [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)
#### Post date: [June 16, 2024, 11:24am UTC](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551/29 "2024-06-16T11:24:24Z")

</div>

@mkitti I am still getting error. I think i should use `micromamba` to install `cis`.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/b/6/b6c601f62e288360ea4397973e94cea365e8842f.jpeg)

```julia
Linking setuptools-70.0.0-pyhd8ed1ab_0
critical libmamba filesystem error: cannot copy: No space left on device [/home/raman/micromamba/pkgs/setuptools-70.0.0-pyhd8ed1ab_0/site-packages/setuptools/_distutils/dist.py] [/tmp/jl_sH1Okd/.CondaPkg/env/lib/python3.11/site-packages/setuptools/_distutils/dist.py]

```

What should i type to install `cis` using micromamba? `micromamba install cis` gives error.

> **see error**
>
> ```julia
>    ~  micromamba install cis  ✔ 
> info libmamba ******************Backtrace Start******************
> debug libmamba Loading configuration
> trace libmamba Compute configurable 'create_base'
> trace libmamba Compute configurable 'no_env'
> trace libmamba Compute configurable 'no_rc'
> trace libmamba Compute configurable 'rc_files'
> trace libmamba Compute configurable 'root_prefix'
> trace libmamba Get RC files configuration from locations up to HomeDir
> trace libmamba Configuration not found at '/home/raman/.mambarc'
> trace libmamba Configuration not found at '/home/raman/.mamba/mambarc.d'
> trace libmamba Configuration not found at '/home/raman/.mamba/mambarc'
> trace libmamba Configuration not found at '/home/raman/.mamba/.mambarc'
> trace libmamba Configuration not found at '/home/raman/.config/mamba/mambarc.d'
> trace libmamba Configuration not found at '/home/raman/.config/mamba/mambarc'
> trace libmamba Configuration not found at '/home/raman/.config/mamba/.mambarc'
> trace libmamba Configuration found at '/home/raman/.condarc'
> trace libmamba Configuration not found at '/home/raman/.conda/condarc.d'
> trace libmamba Configuration not found at '/home/raman/.conda/condarc'
> trace libmamba Configuration not found at '/home/raman/.conda/.condarc'
> trace libmamba Configuration not found at '/home/raman/.config/mamba/../conda/condarc.d'
> trace libmamba Configuration not found at '/home/raman/.config/mamba/../conda/condarc'
> trace libmamba Configuration not found at '/home/raman/.config/mamba/../conda/.condarc'
> trace libmamba Configuration not found at '/home/raman/micromamba/.mambarc'
> trace libmamba Configuration not found at '/home/raman/micromamba/condarc.d'
> trace libmamba Configuration not found at '/home/raman/micromamba/condarc'
> trace libmamba Configuration not found at '/home/raman/micromamba/.condarc'
> trace libmamba Configuration not found at '/var/lib/conda/.mambarc'
> trace libmamba Configuration not found at '/var/lib/conda/condarc.d/'
> trace libmamba Configuration not found at '/var/lib/conda/condarc'
> trace libmamba Configuration not found at '/var/lib/conda/.condarc'
> trace libmamba Configuration not found at '/etc/conda/.mambarc'
> trace libmamba Configuration not found at '/etc/conda/condarc.d/'
> trace libmamba Configuration not found at '/etc/conda/condarc'
> trace libmamba Configuration not found at '/etc/conda/.condarc'
> trace libmamba Update configurable 'no_env'
> trace libmamba Compute configurable 'envs_dirs'
> trace libmamba Compute configurable 'file_specs'
> trace libmamba Compute configurable 'spec_file_env_name'
> trace libmamba Compute configurable 'env_name'
> trace libmamba Compute configurable 'use_target_prefix_fallback'
> trace libmamba Compute configurable 'target_prefix'
> trace libmamba Get RC files configuration from locations up to TargetPrefix
> trace libmamba Configuration not found at '/home/raman/.mambarc'
> trace libmamba Configuration not found at '/home/raman/.mamba/mambarc.d'
> trace libmamba Configuration not found at '/home/raman/.mamba/mambarc'
> trace libmamba Configuration not found at '/home/raman/.mamba/.mambarc'
> trace libmamba Configuration not found at '/home/raman/.config/mamba/mambarc.d'
> trace libmamba Configuration not found at '/home/raman/.config/mamba/mambarc'
> trace libmamba Configuration not found at '/home/raman/.config/mamba/.mambarc'
> trace libmamba Configuration found at '/home/raman/.condarc'
> trace libmamba Configuration not found at '/home/raman/.conda/condarc.d'
> trace libmamba Configuration not found at '/home/raman/.conda/condarc'
> trace libmamba Configuration not found at '/home/raman/.conda/.condarc'
> trace libmamba Configuration not found at '/home/raman/.config/mamba/../conda/condarc.d'
> trace libmamba Configuration not found at '/home/raman/.config/mamba/../conda/condarc'
> trace libmamba Configuration not found at '/home/raman/.config/mamba/../conda/.condarc'
> trace libmamba Configuration not found at '/home/raman/micromamba/.mambarc'
> trace libmamba Configuration not found at '/home/raman/micromamba/condarc.d'
> trace libmamba Configuration not found at '/home/raman/micromamba/condarc'
> trace libmamba Configuration not found at '/home/raman/micromamba/.condarc'
> trace libmamba Configuration not found at '/var/lib/conda/.mambarc'
> trace libmamba Configuration not found at '/var/lib/conda/condarc.d/'
> trace libmamba Configuration not found at '/var/lib/conda/condarc'
> trace libmamba Configuration not found at '/var/lib/conda/.condarc'
> trace libmamba Configuration not found at '/etc/conda/.mambarc'
> trace libmamba Configuration not found at '/etc/conda/condarc.d/'
> trace libmamba Configuration not found at '/etc/conda/condarc'
> trace libmamba Configuration not found at '/etc/conda/.condarc'
> trace libmamba Update configurable 'no_env'
> trace libmamba Compute configurable 'relocate_prefix'
> trace libmamba Compute configurable 'target_prefix_checks'
> error libmamba No target prefix specified
> critical libmamba Aborting.
> info libmamba ******************Backtrace End********************
> 
> ```

---

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [June 16, 2024, 11:43am UTC](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551/30 "2024-06-16T11:43:41Z")

</div>

What is your output of:

```julia
df -h /home/raman

```

and

```julia
df -h /tmp

```

?  
Both commands executed on the command line, not at the Julia prompt.

_No space left on device_ is a very clear error message, I think.

---

<div class="post-metadata">

### Author: ![raman\_kumar](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raman_kumar/32/26782_2.png) [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)
#### Post date: [June 16, 2024, 11:45am UTC](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551/31 "2024-06-16T11:45:02Z")

</div>

```julia
    ~  df -h /home/raman  ✔ 
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 117G 69G 42G 63% /
    ~  df -h /tmp  ✔ 
Filesystem Size Used Avail Use% Mounted on
tmpfs 906M 0 906M 0% /tmp

```

---

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [June 16, 2024, 11:53am UTC](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551/32 "2024-06-16T11:53:58Z")

</div>

On my machine:

```julia
ufechner@ufryzen:~$ df -h /tmp
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vgubuntu-root 1,8T 1,5T 253G 86% /

```

There should be no need to use micromamba directly to install cis.

The micromamba error is also clear, it is not configured yet.

```julia
trace libmamba Configuration not found at '/etc/conda/.condarc'
trace libmamba Update configurable 'no_env'
trace libmamba Compute configurable 'relocate_prefix'
trace libmamba Compute configurable 'target_prefix_checks'
error libmamba No target prefix specified
critical libmamba Aborting.

```

For me the question is if 906M space on /tmp are enough. Can you try to extend the size of tmpfs ?

And to use conda from within Julia you must enter the package manager mode first by pressing the ] key.

When I start julia, add CondaPkg, then enter the package manager mode and then type

```julia
conda add cis

```

all gets installed fine. The last lines of the output are:

```julia
Linking iris-3.9.0-pyha770c72_0
Linking cis-1.7.9-py311h38be061_0

Transaction finished

To activate this environment, use:

    micromamba activate /home/ufechner/repos/tmp/.CondaPkg/env

Or to execute a single command in this environment, use:

    micromamba run -p /home/ufechner/repos/tmp/.CondaPkg/env mycommand

(tmp) pkg> 

```

---

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [June 16, 2024, 12:04pm UTC](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551/33 "2024-06-16T12:04:57Z")

</div>

Launching Julia with

```julia
julia --project

```

and then using CondaPkg and switching to package manager mode gives me:

```julia
julia> using CondaPkg

(tmp) pkg> conda status
CondaPkg Status /home/ufechner/repos/tmp/CondaPkg.toml
Environment
  /home/ufechner/repos/tmp/.CondaPkg/env
Packages
  cis v1.7.9

(tmp) pkg> 

```

Typing `help` in package manager mode lists all available commands including the conda commands.

---

<div class="post-metadata">

### Author: ![raman\_kumar](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raman_kumar/32/26782_2.png) [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)
#### Post date: [June 16, 2024, 12:05pm UTC](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551/34 "2024-06-16T12:05:56Z")

</div>

@ufechner7 Ignore it all. What should i do to overcome my error?

---

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [June 16, 2024, 12:18pm UTC](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551/35 "2024-06-16T12:18:11Z")

</div>

What is your output of:

```julia
cat /etc/fstab

```

A line like

```julia
tmpfs /tmp tmpfs defaults,size=2G,mode=1777 0 0

```

at the end, followed by a reboot might help.

Or executing

```julia
sudo mount -o remount,size=2G /tmp

```

without reboot, but that would only temporarily increase the size of the /tmp folder.

---

<div class="post-metadata">

### Author: ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)
#### Post date: [June 16, 2024, 2:04pm UTC](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551/36 "2024-06-16T14:04:05Z")

</div>

> [@raman\_kumar](#):
>
> Ignore it all. What should i do to overcome my error?

You need to fix ths file system error:

Linking setuptools-70.0.0-pyhd8ed1ab\_0  
critical libmamba filesystem error: cannot copy: No space left on device [/home/raman/micromamba/pkgs/setuptools-70.0.0-pyhd8ed1ab\_0/site-packages/setuptools/\_distutils/dist.py] [/tmp/jl\_sH1Okd/.CondaPkg/env/lib/python3.11/site-packages/setuptools/\_distutils/dist.py]

There are a few possibilities:

1. Your /tmp is full, has too many files, or is not accessible to you. We figure out how to clear /tmp
2. libmamba is wrong, and this is a mamba bug
3. We ask @cjdoris for help
4. We set the environment variable `TMPDIR` to something else.

```julia-repl
julia> mkdir("mytemp")

julia> ENV["TMPDIR"] = abspath("mytemp")

```

---

<div class="post-metadata">

### Author: ![raman\_kumar](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raman_kumar/32/26782_2.png) [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)
#### Post date: [June 17, 2024, 2:11am UTC](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551/37 "2024-06-17T02:11:18Z")

</div>

```julia
    ~  cat /etc/fstab  ✔ 
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=CAFB-B9A0 /boot/efi vfat umask=0077 0 2
UUID=3aae5405-92e6-4f9f-b5f8-206f00df12e0 / ext4 defaults,noatime 0 1
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
/swapfile none swap defaults 0 0
    ~  sudo mount -o remount,size=2G /tmp  ✔ 
[sudo] password for raman: 
    ~   ✔ 

```

and now i think it is fine 🫠

 ![image](https://global.discourse-cdn.com/julialang/original/3X/9/0/902c34329911844ad9d967b12467bc843bbb156b.png)

👆 But i am getting error in lines below.

---

<div class="post-metadata">

### Author: ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)
#### Post date: [June 17, 2024, 6:42am UTC](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551/38 "2024-06-17T06:42:08Z")

</div>

Why are you passing a HDF5.jl File to `cis.read_data`? It requires two strings.

[Previous page](https://discourse.julialang.org/t/failed-process-error-while-adding-python-cis-library/115551.md?page=1)
