Problème création environnement conda

Bonjour,

J'essaye de créer un environnement conda mais j'obtiens le message d'erreur ci -dessous.
Pourriez-vous m'indiquer d'où ça pourrait venir?

Merci d'avance pour votre aide,

Guillaume

conda create --name test

Collecting package metadata (current_repodata.json): done
Solving environment: done

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

        Traceback (most recent call last):
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/site-packages/conda/exceptions.py", line 1079, in __call__
            return func(*args, **kwargs)
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/site-packages/conda/cli/main.py", line 84, in _main
            exit_code = do_call(args, p)
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/site-packages/conda/cli/conda_argparse.py", line 83, in do_call
            return getattr(module, func_name)(args, parser)
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/site-packages/conda/cli/main_create.py", line 41, in execute
            install(args, parser, 'create')
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/site-packages/conda/cli/install.py", line 261, in install
            unlink_link_transaction = solver.solve_for_transaction(
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/site-packages/conda/core/solve.py", line 123, in solve_for_transaction
            self._notify_conda_outdated(link_precs)
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/site-packages/conda/core/solve.py", line 970, in _notify_conda_outdated
            SubdirData.query_all(conda_newer_spec, self.channels, self.subdirs,
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/site-packages/conda/core/subdir_data.py", line 120, in query_all
            result = tuple(concat(executor.map(subdir_query, channel_urls)))
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/concurrent/futures/_base.py", line 600, in result_iterator
            yield fs.pop().result()
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/concurrent/futures/_base.py", line 440, in result
            return self.__get_result()
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/concurrent/futures/_base.py", line 389, in __get_result
            raise self._exception
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/concurrent/futures/thread.py", line 52, in run
            result = self.fn(*self.args, **self.kwargs)
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/site-packages/conda/core/subdir_data.py", line 112, in <lambda>
            subdir_query = lambda url: tuple(SubdirData(Channel(url), repodata_fn=repodata_fn).query(
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/site-packages/conda/core/subdir_data.py", line 125, in query
            self.load()
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/site-packages/conda/core/subdir_data.py", line 189, in load
            _internal_state = self._load()
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/site-packages/conda/core/subdir_data.py", line 251, in _load
            _internal_state = self._read_local_repdata(mod_etag_headers.get('_etag'),
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/site-packages/conda/core/subdir_data.py", line 326, in _read_local_repdata
            _internal_state = self._process_raw_repodata_str(raw_repodata_str)
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/site-packages/conda/core/subdir_data.py", line 364, in _process_raw_repodata_str
            json_obj = json.loads(raw_repodata_str or '{}')
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/json/__init__.py", line 346, in loads
            return _default_decoder.decode(s)
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/json/decoder.py", line 337, in decode
            obj, end = self.raw_decode(s, idx=_w(s, 0).end())
          File "/shared/ifbstor1/software/miniconda/lib/python3.9/json/decoder.py", line 353, in raw_decode
            obj, end = self.scan_once(s, idx)
        json.decoder.JSONDecodeError: Expecting ':' delimiter: line 2120 column 13 (char 65536)

    `$ /shared/ifbstor1/software/miniconda/bin/conda create --name test`

bonjour,

Peut-être supprimer le fichier .condarc si il existe et/ou supprimer le repertoire .conda

C'est possible d'avoir le resultat de la commande conda info ?

1 J'aime

Bonjour,
J'ai supprimé le fichier .condarc mais j'ai toujours la même erreur.
Si je supprime le repertoire onda est-ce que cela ne risque pas d'affecter mes autres environnements conda déjà créés?

voici la sortie de conda info :

 active environment : base
active env location : /shared/ifbstor1/software/miniconda
        shell level : 1
   user config file : /shared/home/grobertsiegwald/.condarc
 populated config files : /shared/ifbstor1/software/miniconda/.condarc
      conda version : 4.9.2
conda-build version : not installed
     python version : 3.9.2.final.0
   virtual packages : __glibc=2.17=0
                      __unix=0=0
                      __archspec=1=x86_64
   base environment : /shared/ifbstor1/software/miniconda  (read only)
       channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                      https://conda.anaconda.org/conda-forge/noarch
                      https://conda.anaconda.org/bioconda/linux-64
                      https://conda.anaconda.org/bioconda/noarch
                      https://repo.anaconda.com/pkgs/main/linux-64
                      https://repo.anaconda.com/pkgs/main/noarch
                      https://repo.anaconda.com/pkgs/r/linux-64
                      https://repo.anaconda.com/pkgs/r/noarch
      package cache : /shared/ifbstor1/software/miniconda/pkgs
                      /shared/home/grobertsiegwald/.conda/pkgs
   envs directories : /shared/home/grobertsiegwald/.conda/envs
                      /shared/ifbstor1/software/miniconda/envs
           platform : linux-64
         user-agent : conda/4.9.2 requests/2.25.0 CPython/3.9.2 Linux/3.10.0-1160.6.1.el7.x86_64 centos/7.9.2009 glibc/2.17
            UID:GID : 100068:100068
         netrc file : None
       offline mode : False

C'est bon finalement j'ai supprimé le repertoire .conda et ça fonctionne bien maintenant.
merci!