ModuleNotFoundError: No module named 'tensorboard'

ModuleNotFoundError: No module named 'tensorboard'

WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.summary API due to missing TensorBoard installation.

不确定这是什么问题,这是我的包裹

还有其他人

Cuda 工具包在 10.1.243

当我使用

%load_ext tensorboard

它returns

ModuleNotFoundError: No module named 'tensorboard'

pip install tensorboard 这将解决您的问题

这对我有用:

conda install -y -c conda-forge tensorboard

顺便说一句,如果你使用的是 pytorch,那么你似乎也需要自己安装它,尽管 pytorch 在他们的教程中没有明确说明(或根本没有说明)。