Hello,
I am getting this error report whenever I open a new terminal. Can anyone help?
Error while loading conda entry point: conda-build (string indices must be integers, not ‘str’)
>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "/home/rdiaz/anaconda3/lib/python3.11/site-packages/conda/exception_handler.py", line 17, in __call__
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/rdiaz/anaconda3/lib/python3.11/site-packages/conda/cli/main.py", line 78, in main_sourced
context.__init__()
File "/home/rdiaz/anaconda3/lib/python3.11/site-packages/conda/base/context.py", line 456, in __init__
self._set_search_path(
File "/home/rdiaz/anaconda3/lib/python3.11/site-packages/conda/common/configuration.py", line 1428, in _set_search_path
self._set_raw_data(dict(self._load_search_path(self._search_path)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rdiaz/anaconda3/lib/python3.11/site-packages/conda/common/configuration.py", line 1417, in _load_search_path
yield path, YamlRawParameter.make_raw_parameters_from_file(path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rdiaz/anaconda3/lib/python3.11/site-packages/conda/common/configuration.py", line 416, in make_raw_parameters_from_file
return cls.make_raw_parameters(filepath, yaml_obj) or EMPTY_MAP
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rdiaz/anaconda3/lib/python3.11/site-packages/conda/common/configuration.py", line 389, in make_raw_parameters
return {
^
File "/home/rdiaz/anaconda3/lib/python3.11/site-packages/conda/common/configuration.py", line 391, in <dictcomp>
source, key, from_map[key], cls._get_yaml_key_comment(from_map, key)
~~~~~~~~^^^^^
TypeError: string indices must be integers, not 'str'
$ /home/rdiaz/anaconda3/bin/conda shell.posix activate relion-5.0
environment variables:
CIO_TEST=
CONDA_EXE=/home/rdiaz/anaconda3/bin/conda
CONDA_PYTHON_EXE=/home/rdiaz/anaconda3/bin/python
CONDA_ROOT=/home/rdiaz/anaconda3
CONDA_SHLVL=0
CURL_CA_BUNDLE=
LD_PRELOAD=
PATH=/home/rdiaz/relion/build/bin/:/home/rdiaz/anaconda3/condabin:/usr/loca
l/IMOD/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bi
n:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/usr/local/IMOD/pyth
onLink
REQUESTS_CA_BUNDLE=
SSL_CERT_FILE=
WINDOWPATH=2
active environment : None
shell level : 0
user config file : /home/rdiaz/.condarc
populated config files :
conda version : 23.7.2
conda-build version : 3.26.0
python version : 3.11.4.final.0
virtual packages : __archspec=1=x86_64
__cuda=12.4=0
__glibc=2.39=0
__linux=6.8.0=0
_unix=0=0
base environment : /home/rdiaz/anaconda3 (writable)
conda av data dir : /home/rdiaz/anaconda3/etc/conda
conda av metadata url : None
channel URLs :
package cache : /home/rdiaz/anaconda3/pkgs
/home/rdiaz/.conda/pkgs
envs directories : /home/rdiaz/anaconda3/envs
/home/rdiaz/.conda/envs
platform : linux-64
user-agent : conda/23.7.2 requests/2.31.0 CPython/3.11.4 Linux/6.8.0-51-generic ubuntu/24.04.1 glibc/2.39
UID:GID : 12260:10000
netrc file : None
offline mode : False
Thanks,
Chen