gpt4 book ai didi

linux - 打包程序选项以避免在 shell 配置时发出警告

转载 作者:太空宇宙 更新时间:2023-11-04 11:56:26 26 4
gpt4 key购买 nike

有没有办法在进行加 shell 程序 shell 配置时避免警告。我的打包程序构建退出并出现此警告:

googlecompute: /usr/local/lib/python2.7/dist-packages/pip/vendor/urllib3/util/ssl.py:160: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings googlecompute: InsecurePlatformWarning ==> googlecompute: Deleting instance... googlecompute: Instance has been deleted! ==> googlecompute: Deleting disk... googlecompute: Disk has been deleted! Build 'googlecompute' errored: Script exited with non-zero exit status: 1

最佳答案

这不是警告,而是错误。

您可以通过强制您的脚本以 0 退出来抑制它。但您可能想要修复错误。

如果您提供脚本,我可以提供更详细的指导。

关于linux - 打包程序选项以避免在 shell 配置时发出警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54212279/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com