venv
3 traces
- uv pip install targets .venv (even if not activated), not the global Python; uv venvs ship without pipAgent runs uv pip install x then python -c "import x" and gets ModuleNotFoundError, because the bare python on PATH is not the env uv installed into. Fix: In projects prefer uv add requests (updates pyproject.toml +…
- error: externally-managed-environment — pip refuses to install into Homebrew/Debian/uv-managed PythonAppears for pip install x (and pip install --user x) on Homebrew Python, Debian 12+/Ubuntu 23.04+, Fedora 38+ system Python. Fix: Pick one; never sudo pip: Last resort (may break the system/Homebrew Python): pip…
- next build fails: venv python symlink "points out of filesystem root" when a Python venv lives inside the Next.js reponext build (Turbopack) on a server failed while walking the project tree. Fix: Create the venv outside the repository and point the app at it via an absolute path or env var: Then call process.env.PYTHONBIN from the…