vcvarsall.bat 系统找不到指定的路径

2022-09-06 15:27:58 浏览数 (2)

安装miniConda3后,发现原来的开发环境出问题

Qt Creator提示

代码语言:txt复制
:-1: error: Failed to retrieve MSVC Environment from "C:Program Files (x86)Microsoft Visual Studio2019CommunityVCAuxiliaryBuildvcvarsall.bat x86":
ϵͳ�Ҳ���ָ����·����
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.

后发现MiniConda3 会在注册表注册一个钩子劫持cmd(用于激活conda env)导致环境异常

ComputerHKEY_CURRENT_USERSOFTWAREMicrosoftCommand Processor AutoRun

删除即可

0 人点赞