1、关于引用未授权的错误import: not authorized `rospy' @ error/constitute.c/WriteImage/1028.
今天在调试代码的时候遇到一个引用未授权的bug,记录一下。
import: not authorized `rospy' @ error/constitute.c/WriteImage/1028.
import: not authorized `time' @ error/constitute.c/WriteImage/1028.
import: not authorized `actionlib' @ error/constitute.c/WriteImage/1028.
from: can't read /var/mail/basics.msg
/home/xgy/topicws/src/basics/src/simple_action_server.py: 行 6: 未预期的符号 `(' 附近有语法错误
/home/xgy/topicws/src/basics/src/simple_action_server.py: 行 6: `def do_timer(goal):'
原来是第一行没有指定解释器。
#! /usr/bin/env python
他虽然是个注释,但也是必不可少的
2、 解决在win系统下使用DOS命令开启TensorBoard的问题及方法步骤:要注意:使用双引号!!!