INTERNAL ERROR: cannot create temporary directory!

Hi, When trying to install SCT in my computer I get the following error:

rm -rf /home/berny/sct_5.0.1/python


mkdir -p /home/berny/sct_5.0.1/python


wget -O /tmp/tmp.gWCxiUDRK8/miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh

--2022-04-26 13:44:53--  https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
Resolving repo.anaconda.com (repo.anaconda.com)... 104.16.131.3, 104.16.130.3, 2606:4700::6810:8203, ...
Connecting to repo.anaconda.com (repo.anaconda.com)|104.16.131.3|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 75660608 (72M) [application/x-sh]
Saving to: ‘/tmp/tmp.gWCxiUDRK8/miniconda.sh’

/tmp/tmp.gWCxiUDRK8/miniconda 100%[=================================================>]  72.16M  3.11MB/s    in 29s

2022-04-26 13:45:21 (2.52 MB/s) - ‘/tmp/tmp.gWCxiUDRK8/miniconda.sh’ saved [75660608/75660608]

exit status is 0

bash /tmp/tmp.gWCxiUDRK8/miniconda.sh -p /home/berny/sct_5.0.1/python -b -f

PREFIX=/home/berny/sct_5.0.1/python
Unpacking payload ...
[698] INTERNAL ERROR: cannot create temporary directory!
[702] INTERNAL ERROR: cannot create temporary directory!

ERROR: Command failed.


Installation failed!

Hi @berna_gunes,

Based on the information you have provided, it seems that you are using Docker to install SCT v5.0.1. (Please correct me if I’m wrong, though!)

The error message you’ve provided (“INTERNAL ERROR: cannot create temporary directory!”) seems to indicate low disk space (Source 1, Source 2). So, I would recommend making sure that you have more free space, then trying to install SCT again.

If you continue to run into this issue, please reply to this post and I will happy to troubleshoot further.

Kind regards,
Joshua

Hi @berna_gunes,

I just wanted to let you know that SCT v5.6 has been announced, which includes a new way of installing SCT on Windows.

This new method may help to address your issues if you were having trouble with WSL. :slightly_smiling_face:

Kind regards,
Joshua

1 Like