Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tensorboard-pytorch installation: "No module named tensorflow" #39

Closed
jtang10 opened this issue Oct 6, 2017 · 4 comments
Closed

tensorboard-pytorch installation: "No module named tensorflow" #39

jtang10 opened this issue Oct 6, 2017 · 4 comments

Comments

@jtang10
Copy link

jtang10 commented Oct 6, 2017

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.

@jtang10 jtang10 closed this as completed Oct 6, 2017
@jtang10
Copy link
Author

jtang10 commented Oct 6, 2017

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

@lanpa
Copy link
Owner

lanpa commented Oct 7, 2017

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

lanpa added a commit that referenced this issue Oct 7, 2017
@isalirezag
Copy link

so how should we install tensorbardx?

@lanpa
Copy link
Owner

lanpa commented Jul 1, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants