-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Error while trying to Launch Tensorboard in the cell of Jupyter Notebook #5002
Comments
It looks like the issue here is actually that the "projector" plugin is installed multiple times, possibly through some pip dependency entanglement.
Probably a similar error to #2759 or #3460 In that bug the recommendation was to use tensorflow 2.x , if possible. Would that work in your case? |
@bileschi, |
@yatbear, ERROR: tf-nightly-2-0-preview 2.0.0.dev20190601 has requirement tb-nightly<1.15.0a0,>=1.14.0a0, but you'll have tb-nightly 2.4.0a20201022 which is incompatible.
ERROR: tensorflow 2.5.0 has requirement gast==0.4.0, but you'll have gast 0.3.3 which is incompatible.
ERROR: tensorflow 2.5.0 has requirement h5py~=3.1.0, but you'll have h5py 2.10.0 which is incompatible.
ERROR: tensorflow 2.5.0 has requirement numpy~=1.19.2, but you'll have numpy 1.18.5 which is incompatible.
ERROR: tensorflow-transform 0.24.1 has requirement tensorflow!=2.0.*,!=2.1.*,!=2.2.*,<2.4,>=1.15.2, but you'll have tensorflow 2.5.0 which is incompatible.
ERROR: tensorflow-text 2.3.0 has requirement tensorflow<2.4,>=2.3.0, but you'll have tensorflow 2.5.0 which is incompatible.
ERROR: tensorflow-gpu 2.0.0b1 has requirement tb-nightly<1.14.0a20190604,>=1.14.0a20190603, but you'll have tb-nightly 2.4.0a20201022 which is incompatible.
ERROR: tensorflow-gpu 2.0.0b1 has requirement tf-estimator-nightly<1.14.0.dev2019060502,>=1.14.0.dev2019060501, but you'll have tf-estimator-nightly 2.4.0.dev2020090201 which is incompatible. I've filed an issue in Tensorflow Repository regarding the |
You are welcome! I'm using python 3.9.2. I installed and ran the Jupyter Notebook in the same virtualenv that I ran the tensorboard (setup). Specific steps I've run:
After the steps above, I was able to directly run the code you provided without any further installation in the Jupyter Notebook. |
@worldpeaceaspirer were you able to get the TensorBoard working in Jupyter using @yatbear's recipe? |
@yatbear, Traceback (most recent call last):
File "/usr/local/bin/virtualenv", line 6, in <module>
from virtualenv.__main__ import run_with_catch
ModuleNotFoundError: No module named 'virtualenv' |
It seems that https://virtualenv.pypa.io/en/latest/ Alternatively, python3 includes some of the same functionality natively now. You should be able to do the following as a substitute:
See more about the venv module here : https://docs.python.org/3/library/venv.html |
@worldpeaceaspirer ,closing this as there has been no response on this thread for sometime.Please feel free to reopen based on the comment trace.Thanks. |
Issue description
I'm trying to Launch
Tensorboard
from theJupyter Notebook
cell but it is resulting in error. My machine doesn't have aGPU
and from the error message, I understand thatTensorboard
is expectingGPU
.It is working fine in
Google Colab
.Can't the Tensorboard be launched in the
Local PC
(Linux OS
), which doesn't have aGPU
, from aJupyter Notebook cell
?Please find the reproducible code and the Error, below:
Error Message:
Thank you in advance.
The text was updated successfully, but these errors were encountered: