擅长:python、mysql、java
<p>根据<a href="https://support.avast.com/en-gb/article/Antivirus-scan-exclusions/" rel="nofollow noreferrer">https://support.avast.com/en-gb/article/Antivirus-scan-exclusions/</a>中的步骤,您需要执行以下操作才能将pip列入Avast的白名单:</p>
<p><strong>步骤</strong></p>
<p>打开Avast Antivirus并转到☰ 菜单▸ 设置</p>
<p>选择“常规”▸ 异常,然后单击添加异常</p>
<p>通过以下方式之一添加异常:
在文本框中键入特定的文件/文件夹路径或URL,然后单击添加异常</p>
<p>单击浏览,勾选文件或文件夹旁边的框,例如在x64系统中:<code>HOME_DIRECTORY\AppData\Local\Programs\Python\Python39\Scripts\pip.exe</code>(取决于您的python版本),然后单击确定</p>
<p>单击添加验证</p>
<p>您指定的文件、文件夹或网站将添加到例外列表中</p>
<p>注意:您可以选择或添加多个文件,因此最好选择pip.exe、pip3.exe和pip39.exe,具体取决于您使用的python版本以及文件夹中的pip文件</p>