@Ccc 在 Windows 11 codex沙箱有问题的可以看看 中发帖
我的解决方法是从npm安装换成了
powershell -ExecutionPolicy ByPass -c “irm https://chatgpt.com/codex/install.ps1 | iex”
安装。这个我觉得应该不影响,重点是下面。
删除从Microsoft Store中安装的powershell 7
去Releases · PowerShell/PowerShell · GitHub
下载zip 解压到 C:\Program Files\PowerShell\7
创建系统环境变量 C:\Program Files\PowerShell\7
检查用户或系统环境变量是否有
C:\Users\你的用户名\AppData\Local\Programs\OpenAI\Codex\bin
访问
%LOCALAPPDATA%\Programs\OpenAI\Cod...