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

文章讲述了在使用conda时遇到关于环境变量Path中包含不存在或配置错误的目录引发的错误,解决方法包括删除无效目录、设置CONDA_NO_PLUGINS环境变量或禁用插件。
摘要由CSDN通过智能技术生成

在使用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 <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]:

在这里插入图片描述

  • 13
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值