This gives the import error. I tried to solve this error by googling here and stackoverflow. I have created a new environment via Conda and installed the stable PyTorch (1.12) and the latest Tensorboard, but does not work for me. Any advice would be greatly appreciated.
Thanks for your reply. I use Anaconda Python, so installed both pt and tb using conda, not pip. Would you suggest installing tb using pip instead? Let me create a new environment and do so. If you could, would you specify python, pt, and tb versions? I would really appreciate it.
I accidentally had “tensorboard.py” in the folder of the ipynb files that I have been working on. I do not remember whether or when I created it purposely, though. I hope this posting would help others who could be in the same istuation as mine. I spent the two full days doing everything (uninstall, reinstall, create a new env, install using pip, install tb-nightly, etc.). Thanks ptrblck for your reply as well.