Trouble loading tensorboard.plugins.hparams
See original GitHub issueConsider Stack Overflow for getting support using TensorBoard—they have a larger community with better searchability:
https://stackoverflow.com/questions/tagged/tensorboard
Do not use this template for for setup, installation, or configuration issues. Instead, use the “installation problem” issue template:
https://github.com/tensorflow/tensorboard/issues/new?template=installation_problem.md
To report a problem with TensorBoard itself, please fill out the remainder of this template.
Environment information (required)
Please run diagnose_tensorboard.py
(link below) in the same
environment from which you normally run TensorFlow/TensorBoard, and
paste the output here:
Diagnostics
Diagnostics output
--- check: autoidentify
INFO: diagnose_tensorboard.py source unavailable
--- check: general
INFO: sys.version_info: sys.version_info(major=3, minor=5, micro=3, releaselevel='final', serial=0)
INFO: os.name: posix
INFO: os.uname(): posix.uname_result(sysname='Linux', nodename='tensorflow-20190530-101909', release='4.9.0-9-amd64', version='#1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13)', machine='x86_64')
INFO: sys.getwindowsversion(): N/A
--- check: package_management
INFO: has conda-meta: False
INFO: $VIRTUAL_ENV: None
--- check: installed_packages
INFO: installed: tensorboard==1.13.1
INFO: installed: tensorflow==1.13.1
INFO: installed: tensorflow-estimator==1.13.0
--- check: tensorboard_python_version
INFO: tensorboard.version.VERSION: '1.13.1'
--- check: tensorflow_python_version
INFO: tensorflow.__version__: '1.13.1'
INFO: tensorflow.__git_version__: "b'v1.13.1-1-gd4fb067'"
--- check: tensorboard_binary_path
INFO: which tensorboard: b'/usr/local/bin/tensorboard\n'
--- check: readable_fqdn
INFO: socket.getfqdn(): 'tensorflow-20190530-101909.c.xpo-ltl-advanced-analytics.internal'
--- check: stat_tensorboardinfo
INFO: directory: /tmp/.tensorboard-info
INFO: os.stat(...): os.stat_result(st_mode=16877, st_ino=2104160, st_dev=2049, st_nlink=2, st_uid=1000, st_gid=1001, st_size=4096, st_atime=1562701129, st_mtime=1562701301, st_ctime=1562701301)
INFO: mode: 0o40755
--- check: source_trees_without_genfiles
INFO: tensorboard_roots (1): ['/usr/local/lib/python3.5/dist-packages']; bad_roots (0): []
--- check: full_pip_freeze
INFO: pip freeze --all:
absl-py==0.7.1
ansiwrap==0.8.4
arrow==0.13.2
astor==0.8.0
attrs==19.1.0
backcall==0.1.0
bcolz==1.2.1
binaryornot==0.4.4
bleach==3.1.0
boto==2.44.0
bz2file==0.98
cachetools==3.1.0
certifi==2019.3.9
cffi==1.12.3
chardet==3.0.4
Click==7.0
cloud-tpu-profiler==1.13.0
cloudpickle==1.1.1
colorama==0.4.1
configparser==3.7.4
cookiecutter==1.6.0
cryptography==1.7.1
cycler==0.10.0
daal==2019.0
datalab==1.1.4
decorator==4.4.0
defusedxml==0.6.0
dill==0.2.9
distro==1.0.1
docker==4.0.1
dopamine-rl==2.0.3
entrypoints==0.3
enum34==1.1.6
fairing==0.5.3
Flask==1.0.3
future==0.17.1
gast==0.2.2
gcsfs==0.2.2
gevent==1.4.0
gin-config==0.1.4
gitdb2==2.0.5
GitPython==2.1.11
google-api-core==1.11.0
google-api-python-client==1.7.9
google-auth==1.6.3
google-auth-httplib2==0.0.3
google-auth-oauthlib==0.3.0
google-cloud==0.34.0
google-cloud-bigquery==1.12.1
google-cloud-core==1.0.0
google-cloud-dataproc==0.3.1
google-cloud-datastore==1.8.0
google-cloud-language==1.2.0
google-cloud-logging==1.11.0
google-cloud-spanner==1.9.0
google-cloud-storage==1.16.0
google-cloud-translate==1.5.0
google-compute-engine==2.8.16
google-resumable-media==0.3.2
googleapis-common-protos==1.6.0
greenlet==0.4.15
grpc-google-iam-v1==0.11.4
grpcio==1.20.1
gunicorn==19.9.0
gym==0.12.1
h5py==2.9.0
horovod==0.16.2
html5lib==1.0.1
httplib2==0.12.3
icc-rt==2019.0
idna==2.8
imageio==2.5.0
intel-openmp==2019.0
ipykernel==5.1.1
ipython==7.5.0
ipython-genutils==0.2.0
ipython-sql==0.3.9
ipywidgets==7.4.2
itsdangerous==1.1.0
jedi==0.13.3
Jinja2==2.10.1
jinja2-time==0.2.0
joblib==0.13.2
jsonschema==3.0.1
jupyter==1.0.0
jupyter-aihub-deploy-extension==0.1
jupyter-client==5.2.4
jupyter-console==6.0.0
jupyter-contrib-core==0.3.3
jupyter-contrib-nbextensions==0.5.1
jupyter-core==4.4.0
jupyter-highlight-selected-word==0.2.0
jupyter-http-over-ws==0.0.6
jupyter-latex-envs==1.4.6
jupyter-nbextensions-configurator==0.4.1
jupyter-tensorboard==0.1.10
jupyterlab==0.35.6
jupyterlab-git==0.5.0
jupyterlab-server==0.2.0
Keras==2.2.4
Keras-Applications==1.0.7
Keras-Preprocessing==1.0.9
keyring==10.1
keyrings.alt==1.3
kfac==0.1.4
kiwisolver==1.1.0
kubernetes==9.0.0
lxml==4.3.3
Markdown==3.1.1
MarkupSafe==1.1.1
matplotlib==3.0.3
mesh-tensorflow==0.0.5
mistune==0.8.4
mkl==2019.0
mkl-fft==1.0.6
mkl-random==1.0.1.1
mock==3.0.5
mpmath==1.1.0
nbconvert==5.5.0
nbdime==1.0.6
nbformat==4.4.0
networkx==2.3
nltk==3.4.1
notebook==5.7.8
numpy==1.16.3
oauth2client==4.1.3
oauthlib==3.0.1
opencv-python==4.1.0.25
pandas==0.24.2
pandas-profiling==1.4.1
pandocfilters==1.4.2
papermill==1.0.0
parso==0.4.0
pathlib2==2.3.3
pexpect==4.7.0
pickleshare==0.7.5
Pillow==6.0.0
pip==9.0.1
plotly==3.9.0
poyo==0.4.2
prettytable==0.7.2
prometheus-client==0.6.0
promise==2.2.1
prompt-toolkit==2.0.9
protobuf==3.7.1
psutil==5.6.2
ptyprocess==0.6.0
pyarrow==0.13.0
pyasn1==0.4.5
pyasn1-modules==0.2.5
pycparser==2.19
pycrypto==2.6.1
pycurl==7.43.0
pydaal==2019.0.0.20180713
pydot==1.4.1
pyglet==1.3.2
Pygments==2.4.0
pygobject==3.22.0
pyparsing==2.4.0
pypng==0.0.19
pyrsistent==0.15.2
python-apt==1.4.0b3
python-dateutil==2.8.0
pytz==2019.1
PyWavelets==1.0.3
pyxdg==0.25
PyYAML==5.1
pyzmq==18.0.1
qtconsole==4.4.4
requests==2.22.0
requests-oauthlib==1.2.0
retrying==1.3.3
rsa==4.0
scikit-image==0.15.0
scikit-learn==0.21.2
scipy==1.3.0
seaborn==0.9.0
SecretStorage==2.3.1
Send2Trash==1.5.0
setuptools==41.0.1
simplegeneric==0.8.1
six==1.12.0
smmap2==2.0.5
SQLAlchemy==1.3.3
sqlparse==0.3.0
sympy==1.4
tbb==2019.0
tbb4py==2019.0
tenacity==5.0.4
tensor2tensor==1.13.4
tensorboard==1.13.1
tensorflow==1.13.1
tensorflow-datasets==1.0.2
tensorflow-estimator==1.13.0
tensorflow-hub==0.4.0
tensorflow-metadata==0.13.0
tensorflow-probability==0.6.0
tensorflow-serving-api==1.13.0rc1
termcolor==1.1.0
terminado==0.8.2
testpath==0.4.2
textwrap3==0.9.2
tfds-nightly==1.0.1.dev201903050105
tornado==5.1.1
tqdm==4.32.1
traitlets==4.3.2
unattended-upgrades==0.1
uritemplate==3.0.0
urllib3==1.24.2
virtualenv==16.6.0
wcwidth==0.1.7
webencodings==0.5.1
websocket-client==0.56.0
Werkzeug==0.15.4
wheel==0.29.0
whichcraft==0.5.2
widgetsnbextension==3.4.2
wrapt==1.11.1
Suggestion: Fix permissions on “/tmp/.tensorboard-info”
The “.tensorboard-info” directory was created by an old version of TensorBoard, and its permissions are not set correctly; see issue #2010. Change that directory to be world-accessible (may require superuser privilege):
chmod 777 /tmp/.tensorboard-info
Next steps
Please try each suggestion enumerated above to determine whether it solves your problem. If none of these suggestions works, please copy ALL of the above output, including the lines containing only backticks, into your GitHub issue or comment. Be sure to redact any sensitive information.
For browser-related issues, please additionally specify:
- Browser type and version (e.g., Chrome 64.0.3282.140):
- Screenshot, if it’s a visual issue:
Issue description
I am running: import tensorflow as tf from tensorboard.plugins.hparams import api as hp
within JupyterLab and getting this issue:
ImportError Traceback (most recent call last) <ipython-input-3-50bdb92e546d> in <module> 1 import tensorflow as tf ----> 2 from tensorboard.plugins.hparams import api as hp
ImportError: No module named ‘tensorboard.plugins.hparams’
Trying to figure out why.
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (4 by maintainers)
Top GitHub Comments
Does this run on Colab, but not in JupyterLab? Just curious. I was trying to run in JupyterLab.
As per your suggestion about creating a separate TensorBoard, I did try this, and was able to bring up a Tensor Board in a separate tab. I just don’t understand how to link this with Python code that actually is training/testing a TensorFlow Neural net.
Thanks for any assistance with this.