question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ModuleNotFoundError: No module named 'tensorboardX'

See original GitHub issue

I tried to install tensorboardX and it shows that it is installed successfully: image

image

Collecting git+https://github.com/lanpa/tensorboard-pytorch
  Cloning https://github.com/lanpa/tensorboard-pytorch to /tmp/pip-req-build-3a20nz_z
Requirement already satisfied (use --upgrade to upgrade): tensorboardX==1.2 from git+https://github.com/lanpa/tensorboard-pytorch in ./.local/lib/python3.5/site-packages
Requirement already satisfied: numpy in /usr/local/lib/python3.5/dist-packages (from tensorboardX==1.2) (1.13.3)
Requirement already satisfied: protobuf>=0.3.2 in /usr/local/lib/python3.5/dist-packages (from tensorboardX==1.2) (3.4.0)
Requirement already satisfied: six in /usr/local/lib/python3.5/dist-packages (from tensorboardX==1.2) (1.11.0)
Requirement already satisfied: setuptools in /usr/local/lib/python3.5/dist-packages (from protobuf>=0.3.2->tensorboardX==1.2) (36.6.0)
Building wheels for collected packages: tensorboardX
  Running setup.py bdist_wheel for tensorboardX ... done
  Stored in directory: /tmp/pip-ephem-wheel-cache-un2dc33o/wheels/84/b5/d9/7fdb3057d8ab54436a7f143a8f33ee45e7163482e14a805b26
Successfully built tensorboardX

but then it is not installed and everytime i wanna use it it gives me error:

>>> from tensorboardX import SummaryWriter
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'tensorboardX'

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
engmubarak48commented, Jul 30, 2019

I think this happens when pip and conda installation of TensorFlow conflicts. Conda installation of TensorFlow and tensorboardX works for me.

0reactions
isalirezagcommented, Jul 3, 2018

Yes that is what i meant. Okay I will try that again

Read more comments on GitHub >

github_iconTop Results From Across the Web

ImportError: No module named 'tensorboardX' #255 - GitHub
I am getting the above error when on this line: from tensorboardX import SummaryWriter I have done the following: $ pip install tensorboardX...
Read more >
tensorboardX - PyPI
TensorBoardX lets you watch Tensors Flow without Tensorflow. ... The add_graph function is delegated to the one in torch.utils.tensorboard.
Read more >
ModuleNotFoundError: No module named 'tensorboardX'
ModuleNotFoundError : No module named 'tensorboardX' ... No module named 'tensorboardX'. Install it using the following command $ pip install tensorboardX.
Read more >
No module named 'tensorboardX'? - PyTorch Forums
from tensorboardX import SummaryWriter. I am getting this error: ModuleNotFoundError: No module named 'tensorboardX'. I installed:
Read more >
ModuleNotFoundError: No module named 'tensorboard'
summary API due to missing TensorBoard installation. WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found