You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Issue: TensorBoard wheels on PyPI fail with setuptools >81 due to deprecated pkg_resources removal #7107
The latest released TensorBoard packages on PyPI currently fail to run with newer versions of setuptools (>81), because they still depend on pkg_resources, which has been removed/deprecated in recent setuptools releases.
This issue appears to already be fixed in PR #7057, but no new wheel/package containing the fix has been released to PyPI yet.
As a result, fresh environments using modern setuptools versions cannot run TensorBoard from the latest published release.
Affected Packages
tensorboard==2.20.0
Released: Jul 18, 2025
tb-nightly==2.21.0a20251023
Released: Oct 23, 2025
Problem
Running TensorBoard in an environment with newer setuptools versions results in import/runtime failures because pkg_resources is no longer available.
However, no released wheel currently includes this fix.
Request
Please publish a new release (or at minimum a new wheel) containing the changes from PR #7057 so TensorBoard works correctly with modern setuptools versions.
This currently breaks clean installs in up-to-date Python environments and affects downstream tooling relying on TensorBoard.
Additional Notes
A temporary workaround is pinning setuptools to an older version:
pip install "setuptools<81"
But this is only a workaround and not ideal for reproducible modern environments.
Activity
qqlzfmn commentedon Jun 4, 2026
pkg_resourceshas been removed starting fromsetuptools==82, so the latest version that still works ispip install "setuptools<82"udaya2899 commentedon Jul 1, 2026
Dear maintainers, do we know when we'd get a new release including #7057 ?