python - 允许不安全的 pip 安装语法

标签 python pip

我试着跑

$pip install --upgrade --allow-insecure setuptools

但是好像不行? 我的语法错了吗?

这是在 ubuntu 13.10 上 我需要 --allow-insecure 因为我无法获得 公司代理 SSL 证书还没有,所以我总是得到证书验证失败的错误。

我收到这个错误:

You must give at least one requirement to install (see "pip help install")

最佳答案

--allow-insecure 将包作为参数。所以你想要:

$ pip install --upgrade --allow-insecure setuptools setuptools

关于python - 允许不安全的 pip 安装语法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21083268/

相关文章:

python - 更改pip和pip3的路径

python - pip3 无法在 ubuntu 20.04 : "has no attribute ' SourceFileLoader'"上运行

python - 谁更新 pip 包版本?

Python:如何 "kill"类实例/对象?

pip - Bash:Python3:找不到命令(Windows,discord.py)

python - pip install pyttsx3 抛出错误 python setup.py Egg_info

python - 文本处理——两个文本文件 : read block lines from one file and append it after a string in another text file

Python 在 Mac 上崩溃

python - 如何使用 Plotly 在 Python 中使用 Pandas Dataframe 列设置散点图悬停信息

python - 使用 python 中的字符串索引从文件名返回文件扩展名