OSError: [WinError 123] 文件名、目录名或卷标语法不正确。: ‘C:\Users\xgs87762\AppData\Loca1\Android\Sd业\platf orm-to

在使用conda时,反复出现 Alternatively, you can set the CONDA_NO_PLUGINS environment variable on the command line to run the command without plugins enabled.

提示信息问题

原因:

因为我的环境变量中,有个不存在的目录配置在了Path路径里面,我把它删除后,再次输入 conda -V 就没有这个提示了

注意:

用户变量的Path 和 系统环境变量的 Path 都检查一下提示的那个目录是不是存在的,或者配置错误的,如果不存在删掉就行,存在的话,大概率是配置了特殊符号导致错误

在这里插入图片描述

错误提示如下:

// ... 忽略
 OSError: [WinError 123] 文件名、目录名或卷标语法不正确。: 'C:\Users\****\AppData\Loca1\Android\Sd业\platf
orm-tools'

// ... 忽略
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 

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 

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]:

在这里插入图片描述

本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://www.net2asp.com/cf967ff6cc.html