WARNING: The repository located at pypi.douban.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS instead, otherwise you may silence this warning and allow it anyway with '--trust
时间: 2023-11-27 11:50:57 浏览: 47
This warning is related to the repository that pip is trying to access. It seems that the repository at pypi.douban.com is not a trusted or secure host. If the repository is available via HTTPS, it is recommended to use HTTPS instead.
You can silence this warning and allow pip to access the repository anyway by using the --trusted-host flag. For example:
```
pip install package_name --trusted-host pypi.douban.com
```
However, please be aware that using untrusted repositories can be risky and may compromise the security of your system. It is recommended to only use trusted and secure repositories.
相关问题
warning: the repository located at pypi.douban.com is not a trusted or secure host and is being ignored. if this repository is available via https we recommend you use https instead, otherwise you may silence this warning and allow it anyway with '--trusted-host pypi.douban.com'.
警告:位于pypi.douban.com的存储库不是受信任或安全的主机,正在被忽略。如果此存储库通过https可用,我们建议您改用https,否则您可以使用“--trusted-host pypi.douban.com”静音此警告并仍然允许它。
warning: the repository located at mirrors.aliyun.com is not a trusted or secure host and is being ignored. if this repository is available via https we recommend you use https instead, otherwise you may silence this warning and allow it anyway with '--tr
警告:位于mirrors.aliyun.com的仓库不是一个受信任或安全的主机,正在被忽略。如果该仓库可通过https访问,我们建议您使用https,否则您可以使用“--tr”选项消除此警告并允许它。