본문 바로가기

Anaconda

conda create error

반응형

Collecting package metadata (repodata.json): failed

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

    Traceback (most recent call last):
      File "/home/kwu/anaconda3/lib/python3.8/site-packages/conda/exceptions.py", line 1079, in __call__
        return func(*args, **kwargs)
      File "/home/kwu/anaconda3/lib/python3.8/site-packages/conda/cli/main.py", line 84, in _main
        exit_code = do_call(args, p)
      File "/home/kwu/anaconda3/lib/python3.8/site-packages/conda/cli/conda_argparse.py", line 83, in do_call
        return getattr(module, func_name)(args, parser)
      File "/home/kwu/anaconda3/lib/python3.8/site-packages/conda/cli/main_remove.py", line 90, in execute
        txn = solver.solve_for_transaction()
      File "/home/kwu/anaconda3/lib/python3.8/site-packages/conda/core/solve.py", line 114, in solve_for_transaction
        unlink_precs, link_precs = self.solve_for_diff(update_modifier, deps_modifier,
      File "/home/kwu/anaconda3/lib/python3.8/site-packages/conda/core/solve.py", line 157, in solve_for_diff
        final_precs = self.solve_final_state(update_modifier, deps_modifier, prune, ignore_pinned,
      File "/home/kwu/anaconda3/lib/python3.8/site-packages/conda/core/solve.py", line 262, in solve_final_state
        ssc = self._collect_all_metadata(ssc)
      File "/home/kwu/anaconda3/lib/python3.8/site-packages/conda/common/io.py", line 88, in decorated
        return f(*args, **kwds)
      File "/home/kwu/anaconda3/lib/python3.8/site-packages/conda/core/solve.py", line 425, in _collect_all_metadata
        index, r = self._prepare(prepared_specs)
      File "/home/kwu/anaconda3/lib/python3.8/site-packages/conda/core/solve.py", line 1020, in _prepare
        reduced_index = get_reduced_index(self.prefix, self.channels,
      File "/home/kwu/anaconda3/lib/python3.8/site-packages/conda/core/index.py", line 276, in get_reduced_index
        new_records = SubdirData.query_all(spec, channels=channels, subdirs=subdirs,
      File "/home/kwu/anaconda3/lib/python3.8/site-packages/conda/core/subdir_data.py", line 120, in query_all
        result = tuple(concat(executor.map(subdir_query, channel_urls)))
      File "/home/kwu/anaconda3/lib/python3.8/concurrent/futures/_base.py", line 611, in result_iterator
        yield fs.pop().result()
      File "/home/kwu/anaconda3/lib/python3.8/concurrent/futures/_base.py", line 439, in result
        return self.__get_result()
      File "/home/kwu/anaconda3/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result
        raise self._exception
      File "/home/kwu/anaconda3/lib/python3.8/concurrent/futures/thread.py", line 57, in run
        result = self.fn(*self.args, **self.kwargs)
      File "/home/kwu/anaconda3/lib/python3.8/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 "/home/kwu/anaconda3/lib/python3.8/site-packages/conda/core/subdir_data.py", line 125, in query
        self.load()
      File "/home/kwu/anaconda3/lib/python3.8/site-packages/conda/core/subdir_data.py", line 189, in load
        _internal_state = self._load()
      File "/home/kwu/anaconda3/lib/python3.8/site-packages/conda/core/subdir_data.py", line 214, in _load
        mtime = getmtime(self.cache_path_json)
      File "/home/kwu/anaconda3/lib/python3.8/site-packages/conda/core/subdir_data.py", line 182, in cache_path_json
        return self.cache_path_base + ('1' if context.use_only_tar_bz2 else '') + '.json'
      File "/home/kwu/anaconda3/lib/python3.8/site-packages/conda/base/context.py", line 714, in use_only_tar_bz2
        import conda_package_handling.api
      File "/home/kwu/anaconda3/lib/python3.8/site-packages/conda_package_handling/api.py", line 6, in <module>
        from six import string_types as _string_types
    ModuleNotFoundError: No module named 'six'

`$ /home/kwu/anaconda3/bin/conda remove lmt3`

  environment variables:
                 CIO_TEST=<not set>
        CONDA_DEFAULT_ENV=v2l
                CONDA_EXE=/home/kwu/anaconda3/bin/conda
             CONDA_PREFIX=/home/kwu/anaconda3/envs/v2l
           CONDA_PREFIX_1=/home/kwu/anaconda3
           CONDA_PREFIX_2=/home/kwu/anaconda3/envs/_lmt
           CONDA_PREFIX_3=/home/kwu/anaconda3/envs/__lmt
           CONDA_PREFIX_4=/home/kwu/anaconda3/envs/lmt3
           CONDA_PREFIX_5=/home/kwu/anaconda3/envs/lmt
    CONDA_PROMPT_MODIFIER=(v2l)
         CONDA_PYTHON_EXE=/home/kwu/anaconda3/bin/python
               CONDA_ROOT=/home/kwu/anaconda3
              CONDA_SHLVL=6
           CURL_CA_BUNDLE=<not set>
          LD_LIBRARY_PATH=/usr/local/cuda-11.1/lib64
             LIBRARY_PATH=/usr/local/cuda-11.1/lib64
                     PATH=/home/kwu/anaconda3/bin:/home/kwu/anaconda3/envs/v2l/bin:/home/kwu/ana
                          conda3/condabin:/usr/local/cuda-11.1/bin:/home/kwu/.local/bin:/home/kw
                          u/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/us
                          r/games:/usr/local/games:/snap/bin
       REQUESTS_CA_BUNDLE=<not set>
            SSL_CERT_FILE=<not set>
               WINDOWPATH=2
      ZEITGEIST_DATA_PATH=/home/kwu/.local/share/zeitgeist

     active environment : v2l
    active env location : /home/kwu/anaconda3/envs/v2l
            shell level : 6
       user config file : /home/kwu/.condarc
 populated config files : /home/kwu/.condarc
          conda version : 4.9.2
    conda-build version : 3.20.5
         python version : 3.8.5.final.0
       virtual packages : __cuda=11.2=0
                          __glibc=2.27=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /home/kwu/anaconda3  (writable)
           channel URLs : 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 : /home/kwu/anaconda3/pkgs
                          /home/kwu/.conda/pkgs
       envs directories : /home/kwu/anaconda3/envs
                          /home/kwu/.conda/envs
               platform : linux-64
             user-agent : conda/4.9.2 requests/2.24.0 CPython/3.8.5 Linux/5.4.0-90-generic ubuntu/18.04.5 glibc/2.27
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False


An unexpected error has occurred. Conda has prepared the above report.

반응형