zl程序教程

您现在的位置是:首页 >  系统

当前栏目

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

系统 路径 指定 不到 bat
2023-06-13 09:12:02 时间

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

Qt Creator提示

:-1: error: Failed to retrieve MSVC Environment from "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.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)导致环境异常

Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Command Processor AutoRun

删除即可