PyCharm 里 pip install 任何包都报 FileNotFoundError certifi.where()?一次挖到根因的排查记录
一句话结论(TL;DR)pip install 崩在 ctx.load_verify_locations(certifi.where()),是因为 venv 里的 pip/_vendor/certifi/cacert.pem 丢了。而新建项目还会犯是因为 venv 里的 pip 是从 virtualenv 的缓存镜像(%LOCALAPPDATA%\py…
2026/9/28 20:53:57