Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/339.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python v0.7.1升级后tensorboard.py的属性错误_Python_Tensorflow_Tensorboard_Tensorflow Serving - Fatal编程技术网

Python v0.7.1升级后tensorboard.py的属性错误

Python v0.7.1升级后tensorboard.py的属性错误,python,tensorflow,tensorboard,tensorflow-serving,Python,Tensorflow,Tensorboard,Tensorflow Serving,我只是在我的主目录中运行: sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.7.1-cp27-none-linux_x86_64.whl 现在当我试着用 tensorboard --logdir=/home/tattoo/Tabor_Stuff 我得到以下错误: Traceback (most recent call last): File "/usr/

我只是在我的主目录中运行:

sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.7.1-cp27-none-linux_x86_64.whl
现在当我试着用

tensorboard --logdir=/home/tattoo/Tabor_Stuff
我得到以下错误:

Traceback (most recent call last):
  File "/usr/local/bin/tensorboard", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/tensorboard.py", line 117, in main
    multiplexer = event_multiplexer.AutoloadingMultiplexer(
AttributeError: 'module' object has no attribute 'AutoloadingMultiplexer'
tattoo@tattoo-OptiPlex-780:~/Tabor_Stuff$ cd ..
tattoo@tattoo-OptiPlex-780:~$ tensorboard --logdir=/home/tattoo/Tabor_Stuff
Traceback (most recent call last):
  File "/usr/local/bin/tensorboard", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/tensorboard.py", line 117, in main
    multiplexer = event_multiplexer.AutoloadingMultiplexer(
AttributeError: 'module' object has no attribute 'AutoloadingMultiplexer'
回溯(最近一次呼叫最后一次):
文件“/usr/local/bin/tensorboard”,第11行,在
sys.exit(main())
文件“/usr/local/lib/python2.7/dist packages/tensorflow/tensorboard/tensorboard.py”,第117行,主文件
多路复用器=事件\u多路复用器.AutoloadingMultiplexer(
AttributeError:“模块”对象没有属性“AutolodingMultiplexer”
tattoo@tattoo-OptiPlex-780:~/Tabor_Stuff$cd。。
tattoo@tattoo-OptiPlex-780:~$tensorboard--logdir=/home/纹身/Tabor_东西
回溯(最近一次呼叫最后一次):
文件“/usr/local/bin/tensorboard”,第11行,在
sys.exit(main())
文件“/usr/local/lib/python2.7/dist packages/tensorflow/tensorboard/tensorboard.py”,第117行,主文件
多路复用器=事件\u多路复用器.AutoloadingMultiplexer(
AttributeError:“模块”对象没有属性“AutolodingMultiplexer”

是否有其他人将v0.7.1搞砸了tensorboard?我是否在安装过程中遗漏了一个步骤?

因此,我使用以下命令卸载并重新安装了tensorflow。(感谢Vijay)pip uninstall protobuf pip uninstall tensorflow pip install url/指向/tensorflow-…当主板显示为python/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/backend/tensorboard.py时,logdir=/home/纹身/Tabor12/Tabor1,但出现以下错误警告:tensorflow:IOError[Errno 2]路径/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/TAG上没有这样的文件或目录:'/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/TAG警告:tensorflow:无法读取端口6006上开始tensorboard的tensorboard标记(您可以导航到)在我认为自己已从0.6.0成功升级到0.7.1后,也出现了同样的问题。卸载脚本未触及三个目录。我更改了文件夹名称以保留备份,以防重新安装无效。谢天谢地,重新安装没有问题。因此,我建议您导航到该文件夹并手动删除ete tensorflow文件夹以确保重新安装按预期工作。@McMDA,奇怪的是您在
/backend
中有
tensorboard.py
;我在
/tensorflow/tensorboard
中有。