• WARNING: The script virtualenv is installed in ‘/home/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-...
前提：执行pip3 install virtualenv
出现WARNING错误，如下：

WARNING: The script virtualenv is installed in ‘/home/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 'export PATH=/home/xxx/bin:$PATH' >>~/.bashrc  source ~/.bashrc  其中“/home/xxx/bin”为WARNING提示的PATH 然后卸载掉刚才安装的包，并重新安装： pip3 uninstall virtualenv  pip3 install virtualenv   展开全文 • The script scrapy is installed in ‘/home/xxx/.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. 解决... The script scrapy is installed in ‘/home/xxx/.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. 解决方法： export PATH=/home/blime/.local/bin/:$PATH

当然这只是暂时解决问题，下次还是不行。要想一直可以的话，就要把这句话，写到~/.zshrc或者~/.bashrc中
写到那一个都没问题啦。
bash的用：~/.bashrc
zsh的用：～/.zshrc

sudo vim ~/.zshrc
#把export PATH=/home/blime/.local/bin/:$PATH 放到最后 source ~/.zshrc #就好了   展开全文 • python第三方库安装后遇到的问题 ...然后装好了，就黄字提示我 WARNING: The script jsonschema.exe is installed in ’ 你的python.exe所在盘符位置‘ which is not on PATH. 有问题找百度 那最后使用的是 新建 python第三方库安装后遇到的问题 –by旧人旧梦旧时光 闲话少说，直奔主题。我是在vscode上安装了python 插件后，遇到这个问题的。 本来是想图个方便，想着直接就右键执行脚本就ok了。结果提示我说jupyter等没有安装啊，没关系。我装。然后装好了，就黄字提示我 WARNING: The script jsonschema.exe is installed in ’ 你的python.exe所在盘符位置‘ which is not on PATH. 有问题找百度 那最后使用的是 新建一个 系统变量： PYTHONPATH 值：C:\Users\xxx\AppData\Roaming\Python\Python3x\site-packages(此处为默认的第三方库安装所在的位置。如果python 不是默认位置安装的，不可对号入座) ps：至于这个系统变量呢，如果你也用的是win10系统的话，可以在系统搜索框里直接搜索 系统变量， 点进去就好了 还有一个解决方法 就是使用 --no–warn-script-location 强制压下这个警告，我是使用的添加环境变量的方法。 到这里这个问题就解决了 内容参考：https://blog.csdn.net/L_up_up_up/article/details/112779939  展开全文 • which is not on PATH.</code></li> <p>As I have <a href="https://github.com/awslabs/aws-lambda-powertools-python/blob/develop/.github/workflows/python.yml">another repo using this same action, and it ... • which is not on PATH. The script chardetect is 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 --... • <p>Running the build.cmd script (on Windows) from VS development environment without having git on path fails the build in a really weird way which is hard to figure out. If this happens the error ... • WARNING: The scripts f2py, f2py3 and f2py3.8 are installed in '/home/cyd/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-... 1、在Ubuntu20.04下用pip3安装软件包遇到的坑。 当你使用pip3安装软件包时，会报如下警告。 WARNING: The scripts f2py, f2py3 and f2py3.8 are installed in '/home/cyd/.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.  意思是你没有将环境变量添加到路径，如果忽略这个警告，后面会发现无法导入包，又回头去重新下载，结果发现人家已经存在，这就尴尬了，十万只草泥马崩腾而过。哎呀，不要急，我来了。 2、解决 (1)暂时解决 在终端中输入： export PATH=/home/cyd/.local/bin/:$PATH

这只是暂时解决问题，下次还是不行，哎呀，mmp，又是内心一阵崩腾，不要急，可以一劳永逸。
(2)一劳永逸
在终端中输入：
gedit ~/.bashrc

然后把export PATH=/home/cyd/.local/bin/:$PATH放到最后 然后更新文件。 source ~/.bashrc  好了完毕，脸上开始笑嘻嘻。当然有人家目录下可能没有bashrc文件，而是zshrc文件，添加方法类似，home后面的cyd是我的用户哦，你自己换成你的哦！  展开全文 • 这里写自定义目录标题Defaulting to user installation because normal site-packages is not writeable Processing c:\users\123\appdata\local\pip\cache\wheels\ca\38\d8\dfdfe73bec1d12026b30cb7ce8da650f3f0ea2... • I installed my ClojureTools using Scoop which puts it right on my path via shims so I do know that this is not the issue. </p><p>该提问来源于开源项目：BetterThanTomorrow/calva</p></div> • s built-in compiler to fail to find some classes on <code>-buildpath, which display as errors in the source editor. However, the <code>BndtoolsBuilder</code> ignores this setting and so it will still ... • WINE is /home/user/.steam/steam/steamapps/common/Proton 3.7/dist/bin/wine, which is neither on the path nor an executable file ------------------------------------------------------ </code></pre> <p>... • <p>This addresses the case when jupyter is executed by absolute path and its dir is not on PATH, which would result in all subcommands not being found. <p>closes jupyter/notebook#448</p><p>该提问来源... • <p>Juli on the other hand contains a hardcoded <code>/Applications/WebCatalog.app</code> which cannot be found on linux either. <p>I can run both commands from the same terminal, but both are not able... • <div><p>When an error occurs in my Angular (v 9.0.1) app, I see invalid links on tilde characters which are not links, but only highlight of the line above. <p>See below: ... • c</code> to <code>cmd /c</code>if <code>sh</code> is not available will probably make it even harder to work out what is going on if you are using a helper that contains a path and you get a failure. ... • Manifest ... a component property type as it is not on the project build path. If this annotation is a component property type then it must be present on the build path in order to be processed [WARNING... • I have a random ancient copy of yosys installed under <code>/opt</code> which is <em>not</em> on my <code>PATH</code>. Somehow, cmake finds it and manages to set${YOSYS}</code> to the path to it. ...
• does not work if path is not quoted' do system("ruby #{ }").must_equal false end it 'works if path is quoted' do system("ruby \"#{ }\"").must_equal true end ...
• <p>This will throw an error which is completely not understandable to users. <p><strong>Expected behavior It is supposed to show a better message that explains what is need to be changed. <p><strong>...
• <div><p>This is problematic when you have multiple node/npm installations, and the one you want is not on the PATH, e.g. when you're using the Jenkins NodeJS plugin, which installs node/npm & ...
• <p>discussed that Path.GetTempPath was not advised to be used while Environment.SpecialFolder is not present for Core CLR. <p>This leaves us with two options - Find a variable similar to 'TEMP'...
• <p>We believe that error is triggered on <a href="https://github.com/maxbrunsfeld/counterfeiter/blob/07943b8ac43d8bb3b5bb536b6540c866ba082808/locator/locator.go#L171">this line, which mistakenly ...

...