Environmental Science :Ubuntu14.04,tensorflow=1.4(bazel Source code installation ),Anaconda python=3.6

1. can't find tensorboard

When executing the following command
tensorboard --logdir=...
Tips :
tensorboard: command not found
There are two solutions :

*
(1) Compiled tensorboard Tool whose path is usually **“anaconda3/bin/tensorboard
”**, You can use full path calls ;

*
(2) adopt python Command call tensorboard Entry function of :( This command can be solidified into environment variables )
python anaconda3/lib/python3.6/site-packages/tensorboard/main.py --logdir=...
2. error :cannot import name ‘run_main’

When executing the following command
tensorboard --logdir=...
Tips :
traceback (most recent call last): File "anaconda3/bin/tensorboard", line 7, in
<module> from tensorboard.main import run_main ImportError: cannot import name
'run_main'
There are two solutions :

* (1) use python command : python
anaconda3/lib/python3.6/site-packages/tensorboard/main.py --logdir=...
* (2) Re install tensorboard( recommend ) pip install tb-nightly
3. error :port 6006 was already in use

When executing the following command
tensorboard --logdir=...
Tips :
E0117 15:58:38.631224 MainThread program.py:260] TensorBoard attempted to bind
to port 6006, but it was already in use TensorBoard attempted to bind to port
6006, but it was already in use
There are two solutions :

* (1) Reassign port tensorboard --logdir=... --port=6007
* (2) Kill the occupied port ( Not recommended )

Technology
©2019-2020 Toolsou All rights reserved,
Final review of database : Summary of comprehensive application questions Laplance operator ( Second derivative ) Simple learning of computer composition principle pyqt Button call python program _PyQt: Link button to function in program How much can you go up once you change jobs ? Today, I saw the ceiling of job hopping python in str Function usage _python in str Usage Summary of built-in functions MySQL trigger web The server nginx---linux Installation and deployment C++ Chapter V polymorphism exercises :( It's coming to an end )python Check built-in functions , How to check python Built in function