anaconda安装完以后使用cmd或者anaconda prompt运行一些指令报错
(base) C:\Users\11799>conda update conda
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "D:\python\anaconda\Lib\site-packages\conda\exception_handler.py", line 17, in __call__
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "D:\python\anaconda\Lib\site-packages\conda\cli\main.py", line 54, in main_subshell
parser = generate_parser(add_help=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\python\anaconda\Lib\site-packages\conda\cli\conda_argparse.py", line 127, in generate_parser
configure_parser_plugins(sub_parsers)
File "D:\python\anaconda\Lib\site-packages\conda\cli\conda_argparse.py", line 354, in configure_parser_plugins
else set(find_commands()).difference(plugin_subcommands)
^^^^^^^^^^^^^^^
File "D:\python\anaconda\Lib\site-packages\conda\cli\find_commands.py", line 71, in find_commands
for entry in os.scandir(dir_path):
^^^^^^^^^^^^^^^^^^^^
OSError: [WinError 123] 文件名、目录名或卷标语法不正确。: 'D:\\杞\ue219欢\\灏忕▼搴?D:\\Adams\\bin'
`$ D:\python\anaconda\Scripts\conda-script.py update conda`
environment variables:
CIO_TEST=<not set>
CONDA_DEFAULT_ENV=base
CONDA_EXE=D:\python\anaconda\condabin\..\Scripts\conda.exe
CONDA_EXES="D:\python\anaconda\condabin\..\Scripts\conda.exe"
CONDA_PREFIX=D:\python\anaconda
CONDA_PROMPT_MODIFIER=(base)
CONDA_PYTHON_EXE=D:\python\anaconda\python.exe
CONDA_ROOT=D:\python\anaconda
CONDA_SHLVL=1
CURL_CA_BUNDLE=<not set>
HOMEPATH=\Users\11799
LD_PRELOAD=<not set>
PATH=D:\python\anaconda;D:\python\anaconda\Library\mingw-
w64\bin;D:\python\anaconda\Library\usr\bin;D:\python\anaconda\Library\
bin;D:\python\anaconda\Scripts;D:\python\anaconda\bin;D:\python\anacon
da\condabin;C:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\iCLS;C:\Program Files\Intel\Intel(R) Management Engine Comp
onents\iCLS;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:
\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C
:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common
Files\Intel\WirelessCommon;C:\Program Files (x86)\NVIDIA Corporation\P
hysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:
\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C
:\Program Files\Bandizip;C:\Program Files (x86)\dotnet;C:\Program
Files\MATLAB\R2022b\runtime\win64;C:\Program Files\MATLAB\R2022b\bin;D
:\杞欢\灏忕▼搴廫寰俊web寮€鍙戣€呭伐鍏穃dll;D:\杞欢\灏忕▼搴?D:\Adams\bin;C:\Program
Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program
Files (x86)\Microsoft SQL Server\150\Tools\Binn;C:\Program
Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files\Microsoft
SQL Server\150\DTS\Binn;C:\Program Files (x86)\Windows
Kits\8.1\Windows Performance Toolkit;C:\Program
Files\dotnet;C:\Program Files\Microsoft VS Code\bin;D:\Matlaba\runtime
\win64;D:\Matlaba\bin;D:\Matlaba\polyspace\bin;D:\python\anaconda;D:\p
ython\anaconda\Library\mingw-
w64\bin;D:\python\anaconda\Library\usr\bin;D:\python\anaconda\Library\
bin;D:\python\anaconda\Scripts;C:\Program Files\MySQL\MySQL Shell 8.0\
bin;C:\Users\11799\AppData\Local\Microsoft\WindowsApps;C:\Users\11799\
AppData\Roaming\npm;D:\python\pycharm\PyCharm Community Edition
2023.2.3\bin;.;C:\Users\11799\AppData\Roaming\pip\pip.ini
PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\Windows
PowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft SQL
Server\150\Tools\PowerShell\Modules\
REQUESTS_CA_BUNDLE=<not set>
SSL_CERT_FILE=D:\python\anaconda\Library\ssl\cacert.pem
active environment : base
active env location : D:\python\anaconda
shell level : 1
user config file : C:\Users\11799\.condarc
populated config files : C:\Users\11799\.condarc
conda version : 23.7.4
conda-build version : 3.26.1
python version : 3.11.5.final.0
virtual packages : __archspec=1=x86_64
__cuda=12.0=0
__win=0=0
base environment : D:\python\anaconda (writable)
conda av data dir : D:\python\anaconda\etc\conda
conda av metadata url : None
channel URLs : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/win-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/win-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro/win-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro/noarch
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : D:\python\anaconda\pkgs
C:\Users\11799\.conda\pkgs
C:\Users\11799\AppData\Local\conda\conda\pkgs
envs directories : D:\python\anaconda\envs
C:\Users\11799\.conda\envs
C:\Users\11799\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/23.7.4 requests/2.31.0 CPython/3.11.5 Windows/10 Windows/10.0.22621
administrator : False
netrc file : None
offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
If you suspect this error is being caused by a malfunctioning plugin,
consider using the --no-plugins option to turn off plugins.
Example: conda --no-plugins install <package>
Alternatively, you can set the CONDA_NO_PLUGINS environment variable on
the command line to run the command without plugins enabled.
Example: CONDA_NO_PLUGINS=true conda install <package>
If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers? [y/N]: n
No report sent. To permanently opt-out, use
$ conda config --set report_errors false