WARNING: The scripts f2py, f2py3 and f2py3.6 are installed in ‘/home/nano/.local/bin‘ which is not o

  • Post author:
  • Post category:其他


s

使用pip安装软件包的时候提示

 WARNING: The scripts f2py, f2py3 and f2py3.6 are installed in '/home/nano/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

这个时候我们只要将路径导入即可

vi ~/.bashrc

然后将下列放在最后

export PATH=/home/nano/.local/bin/:$PATH

其中nano是因为我的用的Jetson nano所以取名为nano,需要根据你具体的名字进行替换

之后更新一下就可以了

source ~/.bashrc  



版权声明:本文为LYiiiiiii原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。