Traceback (most recent call last):
File "/home/xietx19/nfs/anaconda/lib/python3.9/site-packages/conda/exceptions.py", line 1129, in __call__
return func(*args, **kwargs)
File "/home/xietx19/nfs/anaconda/lib/python3.9/site-packages/conda/cli/main.py", line 111, in main_sourced
print(activator.execute(), end="")
File "/home/xietx19/nfs/anaconda/lib/python3.9/site-packages/conda/activate.py", line 167, in execute
return getattr(self, self.command)()
File "/home/xietx19/nfs/anaconda/lib/python3.9/site-packages/conda/activate.py", line 141, in activate
builder_result = self.build_activate(self.env_name_or_prefix)
File "/home/xietx19/nfs/anaconda/lib/python3.9/site-packages/conda/activate.py", line 288, in build_activate
return self._build_activate_stack(env_name_or_prefix, False)
File "/home/xietx19/nfs/anaconda/lib/python3.9/site-packages/conda/activate.py", line 367, in _build_activate_stack
deactivate_scripts = self._get_deactivate_scripts(old_conda_prefix)
File "/home/xietx19/nfs/anaconda/lib/python3.9/site-packages/conda/activate.py", line 676, in _get_deactivate_scripts
entry.path for entry in os.scandir(join(prefix, "etc", "conda", "deactivate.d"))
File "/home/xietx19/nfs/anaconda/lib/python3.9/posixpath.py", line 76, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
$ /home/xietx19/nfs/anaconda/bin/conda shell.posix activate base
Checklist
Impacted product
What happened?
I open a new terminal, and when conda initializes its environment, it fails
Expected behavior or outcome
>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
$ /home/xietx19/nfs/anaconda/bin/conda shell.posix activate base
environment variables: CIO_TEST=
CONDA_EXE=/home/xietx19/nfs/anaconda/bin/conda
CONDA_PREFIX_2=/home/xietx19/nfs/anaconda/envs/gp
CONDA_PREFIX_3=/home/xietx19/nfs/anaconda
CONDA_PYTHON_EXE=/home/xietx19/nfs/anaconda/bin/python
CONDA_ROOT=/home/xietx19/nfs/anaconda
CONDA_SHLVL=4
CURL_CA_BUNDLE=
PATH=/home/xietx19/.vscode-
server/bin/f1b07bd25dfad64b0167beb15359ae573aecd2cc/bin/remote-cli:/us
r/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/
usr/local/games:/snap/bin
PYTHONPATH=PYTHONPATH:/home/xietx19/nfs/graduation/MNSIM-2.0/
REQUESTS_CA_BUNDLE=
SSL_CERT_FILE=
populated config files : conda version : 22.9.0 conda-build version : 3.21.5 python version : 3.9.7.final.0 virtual packages : linux=5.4.0=0 glibc=2.31=0 unix=0=0 archspec=1=x86_64 base environment : /home/xietx19/nfs/anaconda (writable) conda av data dir : /home/xietx19/nfs/anaconda/etc/conda conda av metadata url : None 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/xietx19/nfs/anaconda/pkgs /home/xietx19/.conda/pkgs envs directories : /home/xietx19/nfs/anaconda/envs /home/xietx19/.conda/envs platform : linux-64 user-agent : conda/22.9.0 requests/2.26.0 CPython/3.9.7 Linux/5.4.0-163-generic ubuntu/20.04.6 glibc/2.31 UID:GID : 1267:1001 netrc file : None offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
Timeout reached. No report sent.
Conda info
Conda config
No response
Conda list
Additional information
No response