linux的pip3 install之后出现not foud command解决PATH




Installing collected packages: numpy
WARNING: The scripts f2py, f2py3 and f2py3.8 are installed in '/root/.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.
解决方法很简单
首先echo $PATH
然后添加软件安装的PATH路径
export PATH=/usr/local/bin
或 export PATH=/usr/local/bin:$PATH