Tensorboardx: tensorboard-pytorch installation: "No module named tensorflow"

Created on 6 Oct 2017  路  4Comments  路  Source: lanpa/tensorboardX

Hello there,

I am new to tensorboard-pytorch and submitting issue on GitHub, so if you think asking question instead of filing bugs here is not a good idea, I will ask this somewhere else (please tell me where) and delete this issue.

I followed the walkthrough on this repo's README and successfully run the tensorboardX. Everything I intend to record has been saved, but there is only one issue when I run tensorboard in terminal. When I run tensorboard --logdir=logger, 'No module named tensorflow' prompted from tensorboard/main.py. I have to activate my tensorflow environment and run the command to visualize recorded file.

I have run two commands pip install tensorboardX and pip install tensorflow-tensorboard successfully by the way. I used python 2.7 virtualenv to integrate everything about pytorch together.

Most helpful comment

@isalirezag pip install tensorboardX for tensorboardX (the loggor), and pip install tensorboard for tensorboard(the web server)

All 4 comments

Sorry for this stupid issue. I blindly followed the instructions without realizing tensorflow itself has to be installed as well.

Not your fault, tensorflow-tensorboard removed the dependency of tensorflow since 0.1.5. Therefore the installation guideline is outdated. Thanks for notification.

so how should we install tensorbardx?

@isalirezag pip install tensorboardX for tensorboardX (the loggor), and pip install tensorboard for tensorboard(the web server)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mbenami picture mbenami  路  6Comments

aymenmir94 picture aymenmir94  路  7Comments

tcqiuyu picture tcqiuyu  路  6Comments

kmyfoer picture kmyfoer  路  4Comments

JiamingSuen picture JiamingSuen  路  8Comments