但依旧报错此次报错信息为
[main 2023-02-20T06:13:30.185Z] update#ctor - updates are disabled due to running as Admin in user setup
[main 2023-02-20T06:13:31.211Z] [UtilityProcess id: 1, type: extensionHost, pid: ]: creating new...
[10748:0220/141331.213:ERROR:electron_api_utility_process.cc(123)] Failed to create null handle: 系统找不到指定的文件。 (0x2)
[7884:0220/141331.615:ERROR:shared_image_manager.cc(228)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[7884:0220/141331.618:ERROR:shared_image_manager.cc(228)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[7884:0220/141331.621:ERROR:shared_image_manager.cc(228)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[7884:0220/141331.624:ERROR:shared_image_manager.cc(228)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[7884:0220/141331.627:ERROR:shared_image_manager.cc(228)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
一般方法已经全部尝试过了,包括删除code文件夹,安装anaconda等
这个问题可能与用户权限或VSCode的更新机制有关。
首先,可以尝试使用管理员权限运行VSCode。如果这个问题在管理员权限下仍然存在,可以尝试禁用更新机制。
打开VSCode后,按下 Ctrl + Shift + P 打开命令面板,输入 Open User Settings 并按下回车键,打开用户设置。
在搜索框中输入 update.channel,找到 "Update: Channel" 选项,并将其设置为 "none",以禁用更新机制。保存设置后,重启VSCode,看看问题是否得到解决。
如果以上方法仍然不能解决问题,可以尝试重新安装VSCode,确保使用最新版本的VSCode,并确保系统已更新到最新版本。另外,也可以尝试清除VSCode缓存,方法是删除 %APPDATA%\Code 文件夹(注意备份您的配置和插件)。
如果问题仍然存在,建议在VSCode的GitHub页面上提交一个 issue,寻求更专业的支持。
应该是没安装好,重新安装试试吧。