python-2.7 - 无法在 python 2.7 中安装软件包
问题描述
我有一个基于 python 2.7 构建的项目,并且无法安装任何包出现 SSL 错误
pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org <package_name>
解决方案
推荐阅读
- php - 使用 PHP 从 MySQL 访问 IP 并更新它
- c - gcc:无法从目标文件创建 .so
- ios - 用UIScrollView缩放时,无法正常滚动到下端
- tsql - 选择值,即使 LEFT JOIN 上为 NULL
- reactjs - Reactjs - 多项选择题 - 将状态存储为数组
- javascript - 如何使用姓名或电话号码搜索 facebook 和 Linkedin 用户
- django - Django Migration 运行没有错误,但数据库未更改
- ios - 如何通过 google map sdk for ios 获取自行车和公交信息
- reactjs - 如何在 React 的不同路由上使用组件?
- java - 这是“增加” ArrayList 大小的最佳方法吗?