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

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  

你可能感兴趣的:(bug报错,Ubuntu,linux,centos,运维)