# Lost ability to create new environments using miniconda2 in a CentOS 7 environment dependent upon Python 2.7.18

**URL:** <https://forum.anaconda.com/t/lost-ability-to-create-new-environments-using-miniconda2-in-a-centos-7-environment-dependent-upon-python-2-7-18/67308>\
**Category:** Product Help\
**Created:** [February 4, 2024, 10:17am UTC](https://forum.anaconda.com/t/lost-ability-to-create-new-environments-using-miniconda2-in-a-centos-7-environment-dependent-upon-python-2-7-18/67308 "2024-02-04T10:17:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thierry.grange.tg](https://avatars.discourse-cdn.com/v4/letter/t/0075a9/32.png) [@thierry.grange.tg](https://forum.anaconda.com/u/thierry.grange.tg)\
**Post date:** [February 4, 2024, 10:17am UTC](https://forum.anaconda.com/t/lost-ability-to-create-new-environments-using-miniconda2-in-a-centos-7-environment-dependent-upon-python-2-7-18/67308/1 "2024-02-04T10:17:08Z")

</div>

Dear all  
I have been using conda environments for years on my server that is installed with a CentOS 7 distribution currently with version 3.10.0-1160.99.1.el7.x86\_64 of the kernel. My system depends on an old python version, 2.7.18, that I was told to not change for proper OS function. I have thus been using miniconda2 to install all my conda environments up to recently. The problem I encounter since the last part of 2023 is that I cannot create any more new environments. I have many already created environments that my bioinformatics work heavily depends upon that are essential for versioning control of our pipelines, so I am highly reluctant to modify things that could imperil the currently functioning environments. I suspect however that my inability to create new environments may stem from the use of an outdated version of python eventually combined with a system update of some component, even though I have not been able to identify if the problem directly followed a system update because I create only rarely new conda environments.  
I have not been able to identify an answer to this problem on various forums.  
Does anyone knows about this problem and could propose a solution to circumvent it while preserving formerly created conda environments?  
The full error message is at the end of this mail. It is one resulting from a specific conda environment creation attempt but the message is not specific to that environment creation attempt and these errors occur whatever I want to create.  
Thanks  
Thierry

# \>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\> ERROR REPORT \<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<\<

```
Traceback (most recent call last):
  File "/home/grange/miniconda2b/lib/python2.7/site-packages/conda/exceptions.py", line 1074, in __call__
    return func(*args, **kwargs)
  File "/home/grange/miniconda2b/lib/python2.7/site-packages/conda/cli/main.py", line 84, in _main
    exit_code = do_call(args, p)
  File "/home/grange/miniconda2b/lib/python2.7/site-packages/conda/cli/conda_argparse.py", line 82, in do_call
    exit_code = getattr(module, func_name)(args, parser)
  File "/home/grange/miniconda2b/lib/python2.7/site-packages/conda/cli/main_create.py", line 37, in execute
    install(args, parser, 'create')
  File "/home/grange/miniconda2b/lib/python2.7/site-packages/conda/cli/install.py", line 116, in install
    if context.use_only_tar_bz2:
  File "/home/grange/miniconda2b/lib/python2.7/site-packages/conda/base/context.py", line 666, in use_only_tar_bz2
    import conda_package_handling.api
  File "/home/grange/miniconda2b/lib/python2.7/site-packages/conda_package_handling/api.py", line 7, in <module>
    import tqdm as _tqdm
  File "/home/grange/miniconda2b/lib/python2.7/site-packages/tqdm/ __init__.py", line 3, in <module>
    from .cli import main # TODO: remove in v5.0.0
  File "/home/grange/miniconda2b/lib/python2.7/site-packages/tqdm/cli.py", line 202
    sys.stderr.write(f"Error:Unknown argument:{argv[0]}\n{help_short}")
                                                                     ^
SyntaxError: invalid syntax

```

`$ /home/grange/miniconda2b/bin/conda create -n ancIBD -c anaconda python=3.10.10 numpy pandas h5pi psutil matplotlib`

environment variables:  
CIO\_TEST=  
CONDA\_DEFAULT\_ENV=base  
CONDA\_EXE=/home/grange/miniconda2b/bin/conda  
CONDA\_PREFIX=/home/grange/miniconda2b  
CONDA\_PREFIX\_1=/home/grange/miniconda2  
CONDA\_PROMPT\_MODIFIER=(base)  
CONDA\_PYTHON\_EXE=/home/grange/miniconda2b/bin/python  
CONDA\_ROOT=/home/grange/miniconda2b  
CONDA\_SHLVL=2  
GOPATH=/home/grange/go  
PATH=/home/grange/miniconda2b/bin:/home/grange/miniconda2b/bin:/usr/local/g  
o/bin:/home/grange/miniconda2b/bin:/home/grange/miniconda2/condabin:/h  
ome/grange/Software/sratoolkit.3.0.10-centos\_linux64/bin:/home/grange/  
Software/FREEC-11.6b/src:/home/grange/Software/samtools-1.18:/home/gra  
nge/Software/htslib-1.18:/home/grange/Software/bcftools-1.18:/home/gra  
nge/Software/ELAI/src:/home/grange/Software/crimap2.507:/home/grange/S  
oftware/AdmixSim2/src:/home/grange/Software/pbwt:/home/grange/Software  
/bioinformatics-cafe/fastaRegexFinder:/home/grange/Software/leeHom/src  
:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/  
home/grange/go/bin:/home/grange/.local/bin:/home/grange/bin  
REQUESTS\_CA\_BUNDLE=  
SSL\_CERT\_FILE=

```
 active environment : base
active env location : /home/grange/miniconda2b
        shell level : 2
   user config file : /home/grange/.condarc

```

populated config files : /home/grange/.condarc  
conda version : 4.7.12  
conda-build version : not installed  
python version : 2.7.17.final.0  
virtual packages :  
base environment : /home/grange/miniconda2b (writable)  
channel URLs : [anaconda/linux-64](https://conda.anaconda.org/anaconda/linux-64)  
long list of URLs I had to delete  
package cache : /home/grange/miniconda2b/pkgs  
/home/grange/.conda/pkgs  
envs directories : /home/grange/miniconda2b/envs  
/home/grange/.conda/envs  
platform : linux-64  
user-agent : conda/4.7.12 requests/2.25.1 CPython/2.7.17 Linux/3.10.0-1160.99.1.el7.x86\_64 centos/7.9.2009 glibc/2.17  
UID:GID : 1000:1000  
netrc file : None  
offline mode : False
