成功解决The scripts freeze_graph.exe, saved_model_cli.exe, tensorboard.exe, tflite_convert.exe, toco.exe


目录

​解决问题​

​解决思路​

​解决方法​




解决问题

The scripts freeze_graph.exe, saved_model_cli.exe, tensorboard.exe, tflite_convert.exe, toco.exe and toco_from_protos.exe are installed in 'C:\Users\niu\AppData\Roaming\Python\Python36\Scripts' which is not on PATH.

  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.



解决思路

考虑将此目录添加到路径,或者,如果您希望取消此警告,请使用--no warn脚本位置。




解决方法

根据提示,采用两种方法解决

T1、将该路径  C:\Users\niu\AppData\Roaming\Python\Python36\Scripts  加载到系统环境变量内即可!

T2、采用加个参数亦可:    --no-warn-script-location