You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@datasketches.apache.org by "leerho (via GitHub)" <gi...@apache.org> on 2026/10/10 21:54:47 UTC
[PR] README: explain the externally-managed-environment error [datasketches-python]
leerho opened a new pull request, #74:
URL: https://github.com/apache/datasketches-python/pull/74
Fixes #46.
Homebrew Python, and the system Python on Debian 12+ and Ubuntu 23.04+, are marked "externally managed" (PEP 668), so `python3 -m pip install .` or `python3 -m pip install datasketches` fails there with `error: externally-managed-environment`. That is more common now than when #46 was filed.
This adds a short note under *Building and Installation*: what the error means, and the three commands to install into a virtual environment instead.
It is worded as a conditional ("If either command fails with ...") rather than a required step, following the discussion on #46: a virtual environment is not the right default everywhere (for example, in Docker images), so the general instructions are unchanged.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For additional commands, e-mail: dev-help@datasketches.apache.org
Re: [PR] README: explain the externally-managed-environment error [datasketches-python]
Posted by "leerho (via GitHub)" <gi...@apache.org>.
leerho merged PR #74:
URL: https://github.com/apache/datasketches-python/pull/74
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For additional commands, e-mail: dev-help@datasketches.apache.org