ModuleNotFoundError: No module named 'tensorboardX'
See original GitHub issueI tried to install tensorboardX and it shows that it is installed successfully:
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:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think this happens when pip and conda installation of TensorFlow conflicts. Conda installation of TensorFlow and tensorboardX works for me.
Yes that is what i meant. Okay I will try that again